Lines Matching refs:Mask
351 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F()
369 Immediate((Imm)&Mask##Size)); \ in TEST_F()
381 ASSERT_EQ(((Value0)&Mask##Size) & ((Imm)&Mask##Size) ? ValueIfTrue \ in TEST_F()
411 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F()
428 Immediate((Value1)&Mask##Size)); \ in TEST_F()
439 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F()
507 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F()
508 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F()
509 Op static_cast<Type##Size##_t>((Value1)&Mask##Size)), \ in TEST_F()
510 Mask##Size &test.Dst()) \ in TEST_F()
533 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F()
534 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F()
535 Op static_cast<Type##Size##_t>((Value1)&Mask##Size)), \ in TEST_F()
536 Mask##Size &test.Dst()) \ in TEST_F()
550 Immediate((Imm)&Mask##Size)); \ in TEST_F()
555 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F()
556 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F()
557 Op static_cast<Type##Size##_t>((Imm)&Mask##Size)), \ in TEST_F()
558 Mask##Size &test.Dst()) \ in TEST_F()
580 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F()
581 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F()
582 Op static_cast<Type##Size##_t>((Value1)&Mask##Size)), \ in TEST_F()
583 Mask##Size &test.contentsOfDword(T0)) \ in TEST_F()
596 __ Inst(IceType_i##Size, dwordAddress(T0), Immediate((Imm)&Mask##Size)); \ in TEST_F()
602 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F()
603 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F()
604 Op static_cast<Type##Size##_t>((Imm)&Mask##Size)), \ in TEST_F()
605 Mask##Size &test.contentsOfDword(T0)) \ in TEST_F()
687 Immediate(uint64_t(Value0) & Mask##Size)); \ in TEST_F()
689 Immediate((uint64_t(Value0) >> Size) & Mask##Size)); \ in TEST_F()
691 Immediate(uint64_t(Value1) & Mask##Size)); \ in TEST_F()
693 Immediate((uint64_t(Value1) >> Size) & Mask##Size)); \ in TEST_F()
705 static constexpr uint32_t Expected0 = Result & Mask##Size; \ in TEST_F()
706 static constexpr uint32_t Expected1 = (Result >> Size) & Mask##Size; \ in TEST_F()
720 const uint32_t V0 = uint64_t(Value1) & Mask##Size; \ in TEST_F()
722 const uint32_t V1 = (uint64_t(Value1) >> Size) & Mask##Size; \ in TEST_F()
724 Immediate(uint64_t(Value0) & Mask##Size)); \ in TEST_F()
726 Immediate((uint64_t(Value0) >> Size) & Mask##Size)); \ in TEST_F()
740 static constexpr uint32_t Expected0 = Result & Mask##Size; \ in TEST_F()
741 static constexpr uint32_t Expected1 = (Result >> Size) & Mask##Size; \ in TEST_F()
755 Immediate(uint64_t(Value0) & Mask##Size)); \ in TEST_F()
757 Immediate((uint64_t(Value0) >> Size) & Mask##Size)); \ in TEST_F()
759 Immediate(uint64_t(Imm) & Mask##Size)); \ in TEST_F()
761 Immediate((uint64_t(Imm) >> Size) & Mask##Size)); \ in TEST_F()
769 static constexpr uint32_t Expected0 = Result & Mask##Size; \ in TEST_F()
770 static constexpr uint32_t Expected1 = (Result >> Size) & Mask##Size; \ in TEST_F()
784 const uint32_t V0 = uint64_t(Value0) & Mask##Size; \ in TEST_F()
786 const uint32_t V1 = (uint64_t(Value0) >> Size) & Mask##Size; \ in TEST_F()
788 Immediate(uint64_t(Value1) & Mask##Size)); \ in TEST_F()
790 Immediate((uint64_t(Value1) >> Size) & Mask##Size)); \ in TEST_F()
804 static constexpr uint32_t Expected0 = Result & Mask##Size; \ in TEST_F()
805 static constexpr uint32_t Expected1 = (Result >> Size) & Mask##Size; \ in TEST_F()
819 const uint32_t V0 = uint64_t(Value0) & Mask##Size; \ in TEST_F()
821 const uint32_t V1 = (uint64_t(Value0) >> Size) & Mask##Size; \ in TEST_F()
823 Immediate(uint64_t(Imm) & Mask##Size)); \ in TEST_F()
825 Immediate((uint64_t(Imm) >> Size) & Mask##Size)); \ in TEST_F()
835 static constexpr uint32_t Expected0 = Result & Mask##Size; \ in TEST_F()
836 static constexpr uint32_t Expected1 = (Result >> Size) & Mask##Size; \ in TEST_F()
926 static_cast<Type##Size##_t>((Value0)&Mask##Size); \ in TEST_F()
928 static_cast<Type##Size##_t>((Value1)&Mask##Size); \ in TEST_F()
930 Mask##Size & (OperandEax * OperandOther); \ in TEST_F()
932 Mask##Size & ((OperandEax * OperandOther) >> Size); \ in TEST_F()
935 Immediate((Value0)&Mask##Size)); \ in TEST_F()
937 Immediate((Value1)&Mask##Size)); \ in TEST_F()
966 static_cast<Type##Size##_t>((Value0)&Mask##Size); \ in TEST_F()
968 static_cast<Type##Size##_t>((Value1)&Mask##Size); \ in TEST_F()
970 Mask##Size & (OperandEax * OperandOther); \ in TEST_F()
972 Mask##Size & ((OperandEax * OperandOther) >> Size); \ in TEST_F()
975 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1044 static_cast<int##Size##_t>((Value0)&Mask##Size); \ in TEST_F()
1046 static_cast<int##Size##_t>((Value1)&Mask##Size); \ in TEST_F()
1047 static constexpr uint32_t Expected = Mask##Size & (Operand0 * Operand1); \ in TEST_F()
1050 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1052 Immediate((Value1)&Mask##Size)); \ in TEST_F()
1079 static_cast<int##Size##_t>((Value0)&Mask##Size); \ in TEST_F()
1081 static_cast<int##Size##_t>((Imm)&Mask##Size); \ in TEST_F()
1082 static constexpr uint32_t Expected = Mask##Size & (Operand0 * Operand1); \ in TEST_F()
1085 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1107 static_cast<int##Size##_t>((Value0)&Mask##Size); \ in TEST_F()
1109 static_cast<int##Size##_t>((Value1)&Mask##Size); \ in TEST_F()
1110 static constexpr uint32_t Expected = Mask##Size & (Operand0 * Operand1); \ in TEST_F()
1114 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1198 static constexpr Type##Size##_t Operand0Lo = Operand0 & Mask##Size; \ in TEST_F()
1200 (Operand0 >> Size) & Mask##Size; \ in TEST_F()
1202 static_cast<Type##Size##_t>(Value1) & Mask##Size; \ in TEST_F()
1228 static constexpr uint32_t Quocient = (Operand0 / Operand1) & Mask##Size; \ in TEST_F()
1229 static constexpr uint32_t Reminder = (Operand0 % Operand1) & Mask##Size; \ in TEST_F()
1241 static constexpr Type##Size##_t Operand0Lo = Operand0 & Mask##Size; \ in TEST_F()
1243 (Operand0 >> Size) & Mask##Size; \ in TEST_F()
1246 static_cast<Type##Size##_t>(Value1) & Mask##Size; \ in TEST_F()
1268 static constexpr uint32_t Quocient = (Operand0 / V0) & Mask##Size; \ in TEST_F()
1269 static constexpr uint32_t Reminder = (Operand0 % V0) & Mask##Size; \ in TEST_F()
1411 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op(Imm) | \ in TEST_F()
1415 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1417 Immediate((Imm)&Mask##Size)); \ in TEST_F()
1433 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op0(Count) | \ in TEST_F()
1437 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1439 Immediate((Value1)&Mask##Size)); \ in TEST_F()
1457 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op(Count) | \ in TEST_F()
1461 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1463 Immediate((Count)&Mask##Size)); \ in TEST_F()
1481 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op0(Count) | \ in TEST_F()
1485 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1487 Immediate((Value1)&Mask##Size)); \ in TEST_F()
1507 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op(Count) | \ in TEST_F()
1513 Immediate((Count)&Mask##Size)); \ in TEST_F()
1521 Mask##Size &test.contentsOfDword(T0)) \ in TEST_F()
1533 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op0(Count) | \ in TEST_F()
1538 Immediate((Value1)&Mask##Size)); \ in TEST_F()
1648 Immediate(static_cast<int##Size##_t>(Value) & Mask##Size)); \ in TEST_F()
1652 __ And(IceType_i32, GPRRegister::Encoded_Reg_eax, Immediate(Mask##Size)); \ in TEST_F()
1657 ASSERT_EQ(1 + (~static_cast<int##Size##_t>(Value) & Mask##Size), \ in TEST_F()
1670 test.setDwordTo(T0, Value &Mask##Size); \ in TEST_F()
1673 ASSERT_EQ(1 + (~static_cast<int##Size##_t>(Value) & Mask##Size), \ in TEST_F()