shz_opaquef
SHZ_INLINE float shz_opaquef(float value) SHZ_NOEXCEPT;Returns value unchanged, hidden from the optimizer.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
value | float |
Returns
Section titled “Returns”float
Details
Section titled “Details”Emits no instructions, but prevents the compiler from reassociating across value or substituting it with a known equivalent, which can be used to influence instruction scheduling.
Availability
Section titled “Availability”- C++ equivalent:
shz::opaquef - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_scalar.h:210 - Module: Scalar, section "Miscellaneous"