MIPS floating-point - Using as
Description: Using as

Next: MIPS Syntax, Previous: MIPS ASE instruction generation overrides, Up: MIPS-Dependent

#### 9.24.10 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.