1) Why are you using Avx instructions in your real number comparisons without the user setting Avx in Options:
.if(xmm0 < FP4(1.5))
.endif
;vucomiss xmm0,dword ptr [extdef64+0x3000 (00000001`3f9b3000)]
2) Why it does not work in 32-bit mode?
.if(xmm0 < FP4(1.5))
.endif
; Error A2272: real or BCD number not allowed