|Home > armasm Command-line Options > --fpmode=model|
Specifies floating-point standard conformance and sets library attributes and floating-point optimizations.
is one of:
Source code is not permitted to use any floating-point type or floating-point
instruction. This option overrides any explicit
All facilities, operations, and representations guaranteed by the IEEE standard are available in single and double-precision. Modes of operation can be selected dynamically at runtime.
IEEE standard with round-to-nearest and no inexact exceptions.
IEEE standard with round-to-nearest and no exceptions. This mode is compatible with the Java floating-point arithmetic model.
IEEE finite values with denormals flushed to zero, round-to-nearest and no exceptions. It is C and C++ compatible. This is the default option.
Finite values are as predicted by the IEEE standard. It is not guaranteed that NaNs and infinities are produced in all circumstances defined by the IEEE model, or that when they are produced, they have the same sign. Also, it is not guaranteed that the sign of zero is that predicted by the IEEE model.
Some value altering optimizations, where accuracy is sacrificed to fast execution. This is not IEEE compatible, and is not standard C.
This does not cause any changes to the code that you write.
armasm --cpu=8-A.32 --fpmode ieee_full inputfile.s