Lines Matching refs:Mask

382     ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue      \  in TEST_F()
399 Immediate((Imm)&Mask##Size)); \ in TEST_F()
409 ASSERT_EQ(((Value0)&Mask##Size) & ((Imm)&Mask##Size) ? ValueIfTrue \ in TEST_F()
437 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F()
454 Immediate((Value1)&Mask##Size)); \ in TEST_F()
465 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F()
538 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F()
539 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F()
540 Op static_cast<Type##Size##_t>((Value1)&Mask##Size)), \ in TEST_F()
541 Mask##Size &test.Dst()) \ in TEST_F()
562 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F()
563 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F()
564 Op static_cast<Type##Size##_t>((Value1)&Mask##Size)), \ in TEST_F()
565 Mask##Size &test.Dst()) \ in TEST_F()
578 Immediate((Imm)&Mask##Size)); \ in TEST_F()
583 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F()
584 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F()
585 Op static_cast<Type##Size##_t>((Imm)&Mask##Size)), \ in TEST_F()
586 Mask##Size &test.Dst()) \ in TEST_F()
606 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F()
607 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F()
608 Op static_cast<Type##Size##_t>((Value1)&Mask##Size)), \ in TEST_F()
609 Mask##Size &test.contentsOfDword(T0)) \ in TEST_F()
622 __ Inst(IceType_i##Size, dwordAddress(T0), Immediate((Imm)&Mask##Size)); \ in TEST_F()
628 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F()
629 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F()
630 Op static_cast<Type##Size##_t>((Imm)&Mask##Size)), \ in TEST_F()
631 Mask##Size &test.contentsOfDword(T0)) \ in TEST_F()
718 Immediate(uint64_t(Value0) & Mask##Size)); \ in TEST_F()
720 Immediate((uint64_t(Value0) >> Size) & Mask##Size)); \ in TEST_F()
722 Immediate(uint64_t(Value1) & Mask##Size)); \ in TEST_F()
724 Immediate((uint64_t(Value1) >> Size) & Mask##Size)); \ in TEST_F()
734 static constexpr uint32_t Expected0 = Result & Mask##Size; \ in TEST_F()
735 static constexpr uint32_t Expected1 = (Result >> Size) & Mask##Size; \ in TEST_F()
749 const uint32_t V0 = uint64_t(Value1) & Mask##Size; \ in TEST_F()
751 const uint32_t V1 = (uint64_t(Value1) >> Size) & Mask##Size; \ in TEST_F()
753 Immediate(uint64_t(Value0) & Mask##Size)); \ in TEST_F()
755 Immediate((uint64_t(Value0) >> Size) & Mask##Size)); \ in TEST_F()
767 static constexpr uint32_t Expected0 = Result & Mask##Size; \ in TEST_F()
768 static constexpr uint32_t Expected1 = (Result >> Size) & Mask##Size; \ in TEST_F()
782 Immediate(uint64_t(Value0) & Mask##Size)); \ in TEST_F()
784 Immediate((uint64_t(Value0) >> Size) & Mask##Size)); \ in TEST_F()
786 Immediate(uint64_t(Imm) & Mask##Size)); \ in TEST_F()
788 Immediate((uint64_t(Imm) >> Size) & Mask##Size)); \ in TEST_F()
796 static constexpr uint32_t Expected0 = Result & Mask##Size; \ in TEST_F()
797 static constexpr uint32_t Expected1 = (Result >> Size) & Mask##Size; \ in TEST_F()
811 const uint32_t V0 = uint64_t(Value0) & Mask##Size; \ in TEST_F()
813 const uint32_t V1 = (uint64_t(Value0) >> Size) & Mask##Size; \ in TEST_F()
815 Immediate(uint64_t(Value1) & Mask##Size)); \ in TEST_F()
817 Immediate((uint64_t(Value1) >> Size) & Mask##Size)); \ in TEST_F()
829 static constexpr uint32_t Expected0 = Result & Mask##Size; \ in TEST_F()
830 static constexpr uint32_t Expected1 = (Result >> Size) & Mask##Size; \ in TEST_F()
844 const uint32_t V0 = uint64_t(Value0) & Mask##Size; \ in TEST_F()
846 const uint32_t V1 = (uint64_t(Value0) >> Size) & Mask##Size; \ in TEST_F()
848 Immediate(uint64_t(Imm) & Mask##Size)); \ in TEST_F()
850 Immediate((uint64_t(Imm) >> Size) & Mask##Size)); \ in TEST_F()
860 static constexpr uint32_t Expected0 = Result & Mask##Size; \ in TEST_F()
861 static constexpr uint32_t Expected1 = (Result >> Size) & Mask##Size; \ in TEST_F()
953 static_cast<Type##Size##_t>((Value0)&Mask##Size); \ in TEST_F()
955 static_cast<Type##Size##_t>((Value1)&Mask##Size); \ in TEST_F()
957 Mask##Size & (OperandEax * OperandOther); \ in TEST_F()
959 Mask##Size & ((OperandEax * OperandOther) >> Size); \ in TEST_F()
962 Immediate((Value0)&Mask##Size)); \ in TEST_F()
964 Immediate((Value1)&Mask##Size)); \ in TEST_F()
989 static_cast<Type##Size##_t>((Value0)&Mask##Size); \ in TEST_F()
991 static_cast<Type##Size##_t>((Value1)&Mask##Size); \ in TEST_F()
993 Mask##Size & (OperandEax * OperandOther); \ in TEST_F()
995 Mask##Size & ((OperandEax * OperandOther) >> Size); \ in TEST_F()
998 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1075 static_cast<int##Size##_t>((Value0)&Mask##Size); \ in TEST_F()
1077 static_cast<int##Size##_t>((Value1)&Mask##Size); \ in TEST_F()
1078 static constexpr uint32_t Expected = Mask##Size & (Operand0 * Operand1); \ in TEST_F()
1081 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1083 Immediate((Value1)&Mask##Size)); \ in TEST_F()
1105 static_cast<int##Size##_t>((Value0)&Mask##Size); \ in TEST_F()
1107 static_cast<int##Size##_t>((Imm)&Mask##Size); \ in TEST_F()
1108 static constexpr uint32_t Expected = Mask##Size & (Operand0 * Operand1); \ in TEST_F()
1111 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1133 static_cast<int##Size##_t>((Value0)&Mask##Size); \ in TEST_F()
1135 static_cast<int##Size##_t>((Value1)&Mask##Size); \ in TEST_F()
1136 static constexpr uint32_t Expected = Mask##Size & (Operand0 * Operand1); \ in TEST_F()
1140 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1229 static constexpr Type##Size##_t Operand0Lo = Operand0 & Mask##Size; \ in TEST_F()
1231 (Operand0 >> Size) & Mask##Size; \ in TEST_F()
1233 static_cast<Type##Size##_t>(Value1) & Mask##Size; \ in TEST_F()
1258 static constexpr uint32_t Quocient = (Operand0 / Operand1) & Mask##Size; \ in TEST_F()
1259 static constexpr uint32_t Reminder = (Operand0 % Operand1) & Mask##Size; \ in TEST_F()
1271 static constexpr Type##Size##_t Operand0Lo = Operand0 & Mask##Size; \ in TEST_F()
1273 (Operand0 >> Size) & Mask##Size; \ in TEST_F()
1276 static_cast<Type##Size##_t>(Value1) & Mask##Size; \ in TEST_F()
1298 static constexpr uint32_t Quocient = (Operand0 / V0) & Mask##Size; \ in TEST_F()
1299 static constexpr uint32_t Reminder = (Operand0 % V0) & Mask##Size; \ in TEST_F()
1400 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op(Imm) | \ in TEST_F()
1404 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1406 Immediate((Imm)&Mask##Size)); \ in TEST_F()
1422 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op0(Count) | \ in TEST_F()
1426 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1428 Immediate((Value1)&Mask##Size)); \ in TEST_F()
1446 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op(Count) | \ in TEST_F()
1450 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1451 __ mov(IceType_i8, Encoded_GPR_ecx(), Immediate((Count)&Mask##Size)); \ in TEST_F()
1468 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op0(Count) | \ in TEST_F()
1472 Immediate((Value0)&Mask##Size)); \ in TEST_F()
1474 Immediate((Value1)&Mask##Size)); \ in TEST_F()
1492 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op(Count) | \ in TEST_F()
1497 __ mov(IceType_i8, Encoded_GPR_ecx(), Immediate((Count)&Mask##Size)); \ in TEST_F()
1505 Mask##Size &test.contentsOfDword(T0)) \ in TEST_F()
1517 Mask##Size & (static_cast<Type##Size##_t>(Value0) Op0(Count) | \ in TEST_F()
1522 Immediate((Value1)&Mask##Size)); \ in TEST_F()
1633 Immediate(static_cast<int##Size##_t>(Value) & Mask##Size)); \ in TEST_F()
1636 __ And(IceType_i32, Encoded_GPR_eax(), Immediate(Mask##Size)); \ in TEST_F()
1641 ASSERT_EQ(1 + (~static_cast<int##Size##_t>(Value) & Mask##Size), \ in TEST_F()
1654 test.setDwordTo(T0, Value &Mask##Size); \ in TEST_F()
1657 ASSERT_EQ(1 + (~static_cast<int##Size##_t>(Value) & Mask##Size), \ in TEST_F()