Searched refs:MakeFlags (Results 1 – 1 of 1) sorted by relevance
/frameworks/libs/binary_translation/backend/x86_64/ |
D | machine_ir_exec_test.cc | 109 inline uint16_t MakeFlags(bool n, bool z, bool c, bool o) { in MakeFlags() function 113 inline uint16_t MakeFlags(uint8_t nzco_bits) { in MakeFlags() function 114 return MakeFlags(nzco_bits & 0b1000, nzco_bits & 0b0100, nzco_bits & 0b0010, nzco_bits & 0b0001); in MakeFlags() 809 EXPECT_EQ(res_flags & MakeFlags(0b1111), MakeFlags(0b0000)); in TEST() 814 EXPECT_EQ(res_flags & MakeFlags(0b1111), MakeFlags(0b0110)); in TEST() 819 EXPECT_EQ(res_flags & MakeFlags(0b1111), MakeFlags(0b1001)); in TEST() 842 builder.Gen<x86_64::MovqRegImm>(x86_64::kMachineRegRAX, MakeFlags(0b0001)); in TEST() 855 EXPECT_EQ(res_flags & MakeFlags(0b1111), MakeFlags(0b1000)); in TEST() 880 arg_flags = MakeFlags(0b1111); in TEST() 883 EXPECT_EQ(res_flags & MakeFlags(0b1111), MakeFlags(0b1111)); in TEST() [all …]
|