mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-06 15:15:00 -06:00
SPU LLVM: fix vrangeps usage in clamp_smax
This commit is contained in:
parent
280aa6da91
commit
cb2c0733e2
@ -7921,7 +7921,7 @@ public:
|
|||||||
return eval(clamp_positive_smax(clamp_negative_smax(v)));
|
return eval(clamp_positive_smax(clamp_negative_smax(v)));
|
||||||
}
|
}
|
||||||
|
|
||||||
return eval(vrangeps(v, fsplat<f32[4]>(0x7f7fffff), 0x2, 0Xff));
|
return eval(vrangeps(v, fsplat<f32[4]>(std::bit_cast<f32, u32>(0x7f7fffff)), 0x2, 0xff));
|
||||||
}
|
}
|
||||||
|
|
||||||
return eval(clamp_positive_smax(clamp_negative_smax(v)));
|
return eval(clamp_positive_smax(clamp_negative_smax(v)));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user