Jump to content

V-registers and S-registers on arm64 (for lack of a better title)


2 posts in this topic

Recommended Posts

Posted

Have you ever seen something like MOV V0.16B, V1.16B? I'm still trying to figure out how what is stored in these registers is significant and why manipulating floats is done this way on arm64. However, I figured out that V and S registers correspond with each other.

 

S0 = V0, S1 = V1, etc

 

So if you have something like

 

	FMOV S0, #1.0
	MOV V1.16B, V0.16B
	

 

and you want to modify V1 (aka S1) to 31.0, you can change MOV V1.16B, V0.16B to FMOV S1, #31.0!

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines