Mario Kart Wii Gecko Codes, Cheats, & Hacks
cr1 Float Comparison Type for RC bit; Ordered or Unordered? - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Hacks/Modding (https://mariokartwii.com/forumdisplay.php?fid=14)
+--- Forum: Code Support / Help / Requests (https://mariokartwii.com/forumdisplay.php?fid=61)
+--- Thread: cr1 Float Comparison Type for RC bit; Ordered or Unordered? (/showthread.php?tid=1964)



cr1 Float Comparison Type for RC bit; Ordered or Unordered? - Vega - 05-24-2022

For a float instruction that simultaneously also updates cr1 (i.e. fadds. f0, f0, f1), is the float comparison Ordered or Unordered? Thanks in advance.


RE: cr1 Float Comparison Type for RC bit; Ordered or Unordered? - terorie - 05-25-2022

According to IBM docs,

> If the syntax form sets the Record (Rc) bit to 1, the instruction affects the Floating-Point Exception Summary (FX), Floating-Point Enabled Exception Summary (FEX), Floating-Point Invalid Operation Exception Summary (VX), and Floating-Point Overflow Exception (OX) bits in Condition Register Field 1.

I don't think it does any float comparison at all.


RE: cr1 Float Comparison Type for RC bit; Ordered or Unordered? - Vega - 05-25-2022

Thank you.