mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
SPU LLVM: Fix for AVX-512 CFLTU path
- vcvvtps2udq doesn't turn negative numbers into 0, fix by using signed integer max with 0 instead of vrangeps
This commit is contained in:
parent
5668b1bd7a
commit
512f0a814c
1 changed files with 1 additions and 1 deletions
|
@ -9882,7 +9882,7 @@ public:
|
|||
|
||||
if (m_use_avx512)
|
||||
{
|
||||
const auto sc = clamp_smax(a);
|
||||
const auto sc = eval(bitcast<f32[4]>(max(bitcast<s32[4]>(a),splat<s32[4]>(0x0))));
|
||||
r.value = m_ir->CreateFPToUI(sc.value, get_type<s32[4]>());
|
||||
set_vr(op.rt, r);
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue