Next: , Previous: , Up: MIPS-Dependent   [Contents][Index]


9.27.13 Directives to override floating-point options

The directives .set softfloat and .set hardfloat provide finer control of disabling and enabling float-point instructions. These directives always override the default (that hard-float instructions are accepted) or the command-line options (‘-msoft-float’ and ‘-mhard-float’).

The directives .set singlefloat and .set doublefloat provide finer control of disabling and enabling double-precision float-point operations. These directives always override the default (that double-precision operations are accepted) or the command-line options (‘-msingle-float’ and ‘-mdouble-float’).

Traditional MIPS assemblers do not support these directives.