Chapter 9

Floating point

Abstract

This chapter introduces the floating point operations that are equivalent to the operations provided by the vector floating point processor available on ARMv7 and earlier processors. An example is given of using them to implement the sine function, and the performance of the assembly function is compared to the performance of the sine function provided by the GNU C standard library.

Keywords

Floating point; VFP/NEON register usage rules; VFP/NEON load/store instructions; VFP/NEON data movement instructions; VFP/NEON data conversion instructions; VFP/NEON data processing instructions; Scalar floating point sine function; FP/NEON instructions

For ARMv7 and previous architectures, floating point is provided by an optional ...

Get ARM 64-Bit Assembly Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.