How to tell NEON instructions from VFP instructions? -
Both neon and VFP instructions are prefixed with V as
, such as vpush / vpop Is there an easy way to tell NON instructions from VFP?
The VFP instructions are scalar operations, so if the instruction .f32 suffix and < Operates on code> s registers, this is VFP if it is running on d or q registers, then it is a neon.
If the command contains the .f64 suffix, then this is a VFP instruction (no F64 instructions in 32-bit neon).
If the command contains an integer suffix (such as .i8 or .s32 or .u16 ), this is neon ; VFP does not have integer instructions [*]
* I'm shining slightly over the scalar conversion instructions. You can read about the details in the ARM reference book.
Comments
Post a Comment