mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 11:18:36 +12:00
SPU LLVM: Remove icelake shufb paths for now
This commit is contained in:
parent
01703b1350
commit
551472220e
1 changed files with 1 additions and 20 deletions
|
@ -7424,15 +7424,6 @@ public:
|
||||||
const auto as = byteswap(a);
|
const auto as = byteswap(a);
|
||||||
const auto bs = byteswap(b);
|
const auto bs = byteswap(b);
|
||||||
|
|
||||||
if (m_use_avx512_icl && (op.ra != op.rb))
|
|
||||||
{
|
|
||||||
const auto m = gf2p8affineqb(c, build<u8[16]>(0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04), 0x7f);
|
|
||||||
const auto mm = select(noncast<s8[16]>(m) >= 0, splat<u8[16]>(0), m);
|
|
||||||
const auto ab = vperm2b(as, bs, c);
|
|
||||||
set_vr(op.rt4, select(noncast<s8[16]>(c) >= 0, ab, mm));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const auto x = avg(noncast<u8[16]>(sext<s8[16]>((c & 0xc0) == 0xc0)), noncast<u8[16]>(sext<s8[16]>((c & 0xe0) == 0xc0)));
|
const auto x = avg(noncast<u8[16]>(sext<s8[16]>((c & 0xc0) == 0xc0)), noncast<u8[16]>(sext<s8[16]>((c & 0xe0) == 0xc0)));
|
||||||
const auto ax = pshufb(as, c);
|
const auto ax = pshufb(as, c);
|
||||||
const auto bx = pshufb(bs, c);
|
const auto bx = pshufb(bs, c);
|
||||||
|
@ -7472,16 +7463,6 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_use_avx512_icl && (op.ra != op.rb || m_interp_magn))
|
|
||||||
{
|
|
||||||
const auto m = gf2p8affineqb(c, build<u8[16]>(0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x02, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04), 0x7f);
|
|
||||||
const auto mm = select(noncast<s8[16]>(m) >= 0, splat<u8[16]>(0), m);
|
|
||||||
const auto cr = eval(~c);
|
|
||||||
const auto ab = vperm2b(b, a, cr);
|
|
||||||
set_vr(op.rt4, select(noncast<s8[16]>(cr) >= 0, mm, ab));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const auto x = avg(noncast<u8[16]>(sext<s8[16]>((c & 0xc0) == 0xc0)), noncast<u8[16]>(sext<s8[16]>((c & 0xe0) == 0xc0)));
|
const auto x = avg(noncast<u8[16]>(sext<s8[16]>((c & 0xc0) == 0xc0)), noncast<u8[16]>(sext<s8[16]>((c & 0xe0) == 0xc0)));
|
||||||
const auto cr = eval(c ^ 0xf);
|
const auto cr = eval(c ^ 0xf);
|
||||||
const auto ax = pshufb(a, cr);
|
const auto ax = pshufb(a, cr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue