Home
last modified time | relevance | path

Searched refs:Xor (Results 1 – 13 of 13) sorted by relevance

/art/test/427-bitwise/src/
DMain.java173 expectEquals(6, $opt$Xor(5, 3)); in xorInt()
174 expectEquals(0, $opt$Xor(0, 0)); in xorInt()
175 expectEquals(3, $opt$Xor(0, 3)); in xorInt()
176 expectEquals(3, $opt$Xor(3, 0)); in xorInt()
177 expectEquals(-4, $opt$Xor(1, -3)); in xorInt()
178 expectEquals(9, $opt$Xor(-12, -3)); in xorInt()
192 expectEquals(6L, $opt$Xor(5L, 3L)); in xorLong()
193 expectEquals(0L, $opt$Xor(0L, 0L)); in xorLong()
194 expectEquals(3L, $opt$Xor(0L, 3L)); in xorLong()
195 expectEquals(3L, $opt$Xor(3L, 0L)); in xorLong()
[all …]
/art/test/565-checker-doublenegbitwise/smali/
DSmaliTests.smali67 ## CHECK-DAG: <<NotP1:i\d+>> Xor [<<P1>>,<<Const1>>]
68 ## CHECK-DAG: <<NotP2:i\d+>> Xor [<<P2>>,<<Const1>>]
144 ## CHECK-DAG: <<NotP1:i\d+>> Xor [<<P1>>,<<Const1>>]
145 ## CHECK-DAG: <<NotP2:i\d+>> Xor [<<P2>>,<<Const1>>]
227 # Test transformation of Not/Not/Xor into Xor.
235 ## CHECK-DAG: <<Xor:i\d+>> Xor [<<Not1>>,<<Not2>>]
236 ## CHECK-DAG: Return [<<Xor>>]
241 ## CHECK-DAG: <<Xor:i\d+>> Xor [<<P1>>,<<P2>>]
242 ## CHECK-DAG: Return [<<Xor>>]
259 # Test transformation of Not/Not/Xor into Xor for boolean negations.
[all …]
/art/test/458-checker-instruct-simplification/smali/
DSmaliTests2.smali21 ## CHECK-DAG: <<Xor:i\d+>> Xor [<<Arg>>,<<ConstF>>]
22 ## CHECK-DAG: Return [<<Xor>>]
30 ## CHECK-NOT: Xor
53 ## CHECK-DAG: <<Not1:j\d+>> Xor [<<Arg>>,<<ConstNeg1>>]
54 ## CHECK-DAG: <<Not2:j\d+>> Xor [<<Not1>>,<<ConstNeg1>>]
62 ## CHECK-NOT: Xor
85 ## CHECK-DAG: <<Not1:i\d+>> Xor [<<Arg>>,<<ConstNeg1>>]
86 ## CHECK-DAG: <<Not2:i\d+>> Xor [<<Not1>>,<<ConstNeg1>>]
101 ## CHECK-NOT: Xor
DSmaliTests.smali398 ## CHECK-DAG: <<NotResult:i\d+>> Xor [<<Result>>,<<Const1>>]
/art/test/485-checker-dce-loop-update/smali/
DTestCase.smali228 ## CHECK-DAG: <<XorZ>> Xor [<<PhiZ2>>,<<Cst1>>] loop:<<HeaderZ>>
250 ## CHECK-DAG: <<XorZ:i\d+>> Xor [<<PhiZ>>,<<Cst1>>] loop:<<HeaderZ>>
/art/test/953-invoke-polymorphic-compiler/src/
DMain.java186 private static boolean Xor(boolean lhs, boolean rhs) { in Xor() method in Main
/art/compiler/optimizing/
Dintrinsics_riscv64.cc1293 __ Xor(to_store, old_value, masked); in GenerateCompareAndSet() local
2002 __ Xor(temp, temp, old_value); in GenerateGetAndUpdate() local
2004 __ Xor(temp, temp, old_value); in GenerateGetAndUpdate() local
2943 __ Xor(temp1, temp2, temp4); in VisitStringCompareTo() local
2980 __ Xor(temp4, str, arg); in VisitStringCompareTo() local
2983 __ Xor(temp1, temp2, arg); // str if str is compressed, arg otherwise in VisitStringCompareTo() local
2984 __ Xor(temp2, temp2, str); // arg if str is compressed, str otherwise in VisitStringCompareTo() local
3016 __ Xor(out, temp4, temp0); in VisitStringCompareTo() local
4432 __ Xor(new_value, new_value, out.AsRegister<XRegister>()); in GenerateVarHandleGetAndUpdate() local
4437 __ Xor(new_value, new_value, old_value); in GenerateVarHandleGetAndUpdate() local
Dscheduler_arm.cc78 M(Xor, unused) \
Dcode_generator_riscv64.cc2180 __ Xor(rd, rs1, rs2); in HandleBinaryOp() local
2726 __ Xor(out, in, tmp); in VisitAbs() local
2736 __ Xor(out, in, tmp); in VisitAbs() local
3919 __ Xor(out, out, cls.AsRegister<XRegister>()); in VisitInstanceOf() local
5204 __ Xor(xor_reg, false_reg, true_reg); in VisitSelect() local
5207 __ Xor(out_reg, tmp, false_reg); in VisitSelect() local
Dnodes.h1612 M(Xor, BinaryOperation)
5936 DECLARE_INSTRUCTION(Xor);
5939 DEFAULT_COPY_CONSTRUCTOR(Xor);
/art/compiler/utils/riscv64/
Dassembler_riscv64_test.cc2586 TEST_F(AssemblerRISCV64Test, Xor) { in TEST_F() argument
2587 DriverStr(RepeatRRR(&Riscv64Assembler::Xor, "xor {reg1}, {reg2}, {reg3}"), "Xor"); in TEST_F()
2592 DriverStr(RepeatRRR(&Riscv64Assembler::Xor, "xor {reg1}, {reg2}, {reg3}"), "Xor_WithoutC"); in TEST_F()
Dassembler_riscv64.h304 void Xor(XRegister rd, XRegister rs1, XRegister rs2);
Dassembler_riscv64.cc471 void Riscv64Assembler::Xor(XRegister rd, XRegister rs1, XRegister rs2) { in Xor() function in art::riscv64::Riscv64Assembler