mirror of https://github.com/RPCS3/rpcs3.git
SPU LLVM: Minor cleanup after #8559
This commit is contained in:
parent
2ce49e3674
commit
21a1072117
|
@ -7295,17 +7295,7 @@ public:
|
||||||
{
|
{
|
||||||
v128 data = get_const_vector(ci, m_pos, 7000);
|
v128 data = get_const_vector(ci, m_pos, 7000);
|
||||||
|
|
||||||
bool all_bytes_equiv = true;
|
const bool all_bytes_equiv = data == v128::from8p(data._u8[0]);
|
||||||
|
|
||||||
for (u32 i = 0; i < 16; i++)
|
|
||||||
{
|
|
||||||
if (data._u8[0] != data._u8[i])
|
|
||||||
{
|
|
||||||
all_bytes_equiv = false;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (all_bytes_equiv)
|
if (all_bytes_equiv)
|
||||||
{
|
{
|
||||||
// See above
|
// See above
|
||||||
|
@ -7324,17 +7314,7 @@ public:
|
||||||
{
|
{
|
||||||
v128 data = get_const_vector(ci, m_pos, 7000);
|
v128 data = get_const_vector(ci, m_pos, 7000);
|
||||||
|
|
||||||
bool all_bytes_equiv = true;
|
const bool all_bytes_equiv = data == v128::from8p(data._u8[0]);
|
||||||
|
|
||||||
for (u32 i = 0; i < 16; i++)
|
|
||||||
{
|
|
||||||
if (data._u8[0] != data._u8[i])
|
|
||||||
{
|
|
||||||
all_bytes_equiv = false;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (all_bytes_equiv)
|
if (all_bytes_equiv)
|
||||||
{
|
{
|
||||||
// See above
|
// See above
|
||||||
|
|
Loading…
Reference in New Issue