Lines Matching refs:op
44 aarch32::Operand op = aarch32::Operand::From(42);
45 VIXL_CHECK(op.IsImmediate());
46 VIXL_CHECK(op.GetImmediate() == 42);
47 VIXL_CHECK(op.GetSignedImmediate() == 42);
50 aarch32::Operand op = aarch32::Operand::From(-42);
51 VIXL_CHECK(op.IsImmediate());
52 VIXL_CHECK(op.GetImmediate() == (~UINT32_C(42) + 1));
53 VIXL_CHECK(op.GetSignedImmediate() == -42);
58 aarch32::Operand op = aarch32::Operand::From(-1);
59 VIXL_CHECK(op.IsImmediate());
60 VIXL_CHECK(op.GetImmediate() == UINT32_MAX);
61 VIXL_CHECK(op.GetSignedImmediate() == -1);
64 aarch32::Operand op = aarch32::Operand::From(UINT32_MAX);
65 VIXL_CHECK(op.IsImmediate());
66 VIXL_CHECK(op.GetImmediate() == UINT32_MAX);
67 VIXL_CHECK(op.GetSignedImmediate() == -1);
70 aarch32::Operand op = aarch32::Operand::From(INT32_MAX);
71 VIXL_CHECK(op.IsImmediate());
72 VIXL_CHECK(op.GetImmediate() == 0x7fffffffu);
73 VIXL_CHECK(op.GetSignedImmediate() == INT32_MAX);
76 aarch32::Operand op = aarch32::Operand::From(INT32_MIN);
77 VIXL_CHECK(op.IsImmediate());
78 VIXL_CHECK(op.GetImmediate() == 0x80000000u);
79 VIXL_CHECK(op.GetSignedImmediate() == INT32_MIN);
84 aarch32::Operand op = aarch32::Operand::From(INT64_C(-1));
85 VIXL_CHECK(op.IsImmediate());
86 VIXL_CHECK(op.GetImmediate() == UINT32_MAX);
87 VIXL_CHECK(op.GetSignedImmediate() == -1);
90 aarch32::Operand op = aarch32::Operand::From(INT64_C(-42));
91 VIXL_CHECK(op.IsImmediate());
92 VIXL_CHECK(op.GetImmediate() == (~UINT32_C(42) + 1));
93 VIXL_CHECK(op.GetSignedImmediate() == -42);
100 aarch32::Operand op = aarch32::Operand::From(&data);
101 VIXL_CHECK(op.IsImmediate());
102 VIXL_CHECK(op.GetImmediate() == reinterpret_cast<uintptr_t>(&data));
103 VIXL_CHECK(op.GetSignedImmediate() == reinterpret_cast<intptr_t>(&data));
108 aarch32::Operand op = aarch32::Operand::From(data);
109 VIXL_CHECK(op.IsImmediate());
110 VIXL_CHECK(op.GetImmediate() == reinterpret_cast<uintptr_t>(data));
111 VIXL_CHECK(op.GetSignedImmediate() == reinterpret_cast<intptr_t>(data));