diff options
Diffstat (limited to 'compiler/dex/frontend.cc')
-rw-r--r-- | compiler/dex/frontend.cc | 170 |
1 files changed, 85 insertions, 85 deletions
diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc index ec2556b206..63e38317f9 100644 --- a/compiler/dex/frontend.cc +++ b/compiler/dex/frontend.cc @@ -136,22 +136,22 @@ void CompilationUnit::EndTiming() { // TODO: Remove this when we are able to compile everything. int arm64_support_list[] = { Instruction::NOP, - // Instruction::MOVE, - // Instruction::MOVE_FROM16, - // Instruction::MOVE_16, - // Instruction::MOVE_WIDE, - // Instruction::MOVE_WIDE_FROM16, - // Instruction::MOVE_WIDE_16, - // Instruction::MOVE_OBJECT, - // Instruction::MOVE_OBJECT_FROM16, - // Instruction::MOVE_OBJECT_16, + Instruction::MOVE, + Instruction::MOVE_FROM16, + Instruction::MOVE_16, + Instruction::MOVE_WIDE, + Instruction::MOVE_WIDE_FROM16, + Instruction::MOVE_WIDE_16, + Instruction::MOVE_OBJECT, + Instruction::MOVE_OBJECT_FROM16, + Instruction::MOVE_OBJECT_16, // Instruction::MOVE_RESULT, // Instruction::MOVE_RESULT_WIDE, // Instruction::MOVE_RESULT_OBJECT, Instruction::MOVE_EXCEPTION, Instruction::RETURN_VOID, - // Instruction::RETURN, - // Instruction::RETURN_WIDE, + Instruction::RETURN, + Instruction::RETURN_WIDE, // Instruction::RETURN_OBJECT, // Instruction::CONST_4, // Instruction::CONST_16, @@ -184,7 +184,7 @@ int arm64_support_list[] = { // Instruction::CMPG_FLOAT, // Instruction::CMPL_DOUBLE, // Instruction::CMPG_DOUBLE, - // Instruction::CMP_LONG, + Instruction::CMP_LONG, // Instruction::IF_EQ, // Instruction::IF_NE, // Instruction::IF_LT, @@ -258,16 +258,16 @@ int arm64_support_list[] = { // Instruction::INVOKE_INTERFACE_RANGE, // Instruction::UNUSED_79, // Instruction::UNUSED_7A, - // Instruction::NEG_INT, - // Instruction::NOT_INT, - // Instruction::NEG_LONG, - // Instruction::NOT_LONG, + Instruction::NEG_INT, + Instruction::NOT_INT, + Instruction::NEG_LONG, + Instruction::NOT_LONG, // Instruction::NEG_FLOAT, // Instruction::NEG_DOUBLE, - // Instruction::INT_TO_LONG, + Instruction::INT_TO_LONG, // Instruction::INT_TO_FLOAT, // Instruction::INT_TO_DOUBLE, - // Instruction::LONG_TO_INT, + Instruction::LONG_TO_INT, // Instruction::LONG_TO_FLOAT, // Instruction::LONG_TO_DOUBLE, // Instruction::FLOAT_TO_INT, @@ -276,31 +276,31 @@ int arm64_support_list[] = { // Instruction::DOUBLE_TO_INT, // Instruction::DOUBLE_TO_LONG, // Instruction::DOUBLE_TO_FLOAT, - // Instruction::INT_TO_BYTE, - // Instruction::INT_TO_CHAR, - // Instruction::INT_TO_SHORT, - // Instruction::ADD_INT, - // Instruction::SUB_INT, - // Instruction::MUL_INT, - // Instruction::DIV_INT, - // Instruction::REM_INT, - // Instruction::AND_INT, - // Instruction::OR_INT, - // Instruction::XOR_INT, - // Instruction::SHL_INT, - // Instruction::SHR_INT, - // Instruction::USHR_INT, - // Instruction::ADD_LONG, - // Instruction::SUB_LONG, - // Instruction::MUL_LONG, - // Instruction::DIV_LONG, - // Instruction::REM_LONG, - // Instruction::AND_LONG, - // Instruction::OR_LONG, - // Instruction::XOR_LONG, - // Instruction::SHL_LONG, - // Instruction::SHR_LONG, - // Instruction::USHR_LONG, + Instruction::INT_TO_BYTE, + Instruction::INT_TO_CHAR, + Instruction::INT_TO_SHORT, + Instruction::ADD_INT, + Instruction::SUB_INT, + Instruction::MUL_INT, + Instruction::DIV_INT, + Instruction::REM_INT, + Instruction::AND_INT, + Instruction::OR_INT, + Instruction::XOR_INT, + Instruction::SHL_INT, + Instruction::SHR_INT, + Instruction::USHR_INT, + Instruction::ADD_LONG, + Instruction::SUB_LONG, + Instruction::MUL_LONG, + Instruction::DIV_LONG, + Instruction::REM_LONG, + Instruction::AND_LONG, + Instruction::OR_LONG, + Instruction::XOR_LONG, + Instruction::SHL_LONG, + Instruction::SHR_LONG, + Instruction::USHR_LONG, // Instruction::ADD_FLOAT, // Instruction::SUB_FLOAT, // Instruction::MUL_FLOAT, @@ -311,28 +311,28 @@ int arm64_support_list[] = { // Instruction::MUL_DOUBLE, // Instruction::DIV_DOUBLE, // Instruction::REM_DOUBLE, - // Instruction::ADD_INT_2ADDR, - // Instruction::SUB_INT_2ADDR, - // Instruction::MUL_INT_2ADDR, - // Instruction::DIV_INT_2ADDR, - // Instruction::REM_INT_2ADDR, - // Instruction::AND_INT_2ADDR, - // Instruction::OR_INT_2ADDR, - // Instruction::XOR_INT_2ADDR, - // Instruction::SHL_INT_2ADDR, - // Instruction::SHR_INT_2ADDR, - // Instruction::USHR_INT_2ADDR, - // Instruction::ADD_LONG_2ADDR, - // Instruction::SUB_LONG_2ADDR, - // Instruction::MUL_LONG_2ADDR, - // Instruction::DIV_LONG_2ADDR, - // Instruction::REM_LONG_2ADDR, - // Instruction::AND_LONG_2ADDR, - // Instruction::OR_LONG_2ADDR, - // Instruction::XOR_LONG_2ADDR, - // Instruction::SHL_LONG_2ADDR, - // Instruction::SHR_LONG_2ADDR, - // Instruction::USHR_LONG_2ADDR, + Instruction::ADD_INT_2ADDR, + Instruction::SUB_INT_2ADDR, + Instruction::MUL_INT_2ADDR, + Instruction::DIV_INT_2ADDR, + Instruction::REM_INT_2ADDR, + Instruction::AND_INT_2ADDR, + Instruction::OR_INT_2ADDR, + Instruction::XOR_INT_2ADDR, + Instruction::SHL_INT_2ADDR, + Instruction::SHR_INT_2ADDR, + Instruction::USHR_INT_2ADDR, + Instruction::ADD_LONG_2ADDR, + Instruction::SUB_LONG_2ADDR, + Instruction::MUL_LONG_2ADDR, + Instruction::DIV_LONG_2ADDR, + Instruction::REM_LONG_2ADDR, + Instruction::AND_LONG_2ADDR, + Instruction::OR_LONG_2ADDR, + Instruction::XOR_LONG_2ADDR, + Instruction::SHL_LONG_2ADDR, + Instruction::SHR_LONG_2ADDR, + Instruction::USHR_LONG_2ADDR, // Instruction::ADD_FLOAT_2ADDR, // Instruction::SUB_FLOAT_2ADDR, // Instruction::MUL_FLOAT_2ADDR, @@ -343,25 +343,25 @@ int arm64_support_list[] = { // Instruction::MUL_DOUBLE_2ADDR, // Instruction::DIV_DOUBLE_2ADDR, // Instruction::REM_DOUBLE_2ADDR, - // Instruction::ADD_INT_LIT16, - // Instruction::RSUB_INT, - // Instruction::MUL_INT_LIT16, - // Instruction::DIV_INT_LIT16, - // Instruction::REM_INT_LIT16, - // Instruction::AND_INT_LIT16, - // Instruction::OR_INT_LIT16, - // Instruction::XOR_INT_LIT16, + Instruction::ADD_INT_LIT16, + Instruction::RSUB_INT, + Instruction::MUL_INT_LIT16, + Instruction::DIV_INT_LIT16, + Instruction::REM_INT_LIT16, + Instruction::AND_INT_LIT16, + Instruction::OR_INT_LIT16, + Instruction::XOR_INT_LIT16, Instruction::ADD_INT_LIT8, - // Instruction::RSUB_INT_LIT8, - // Instruction::MUL_INT_LIT8, - // Instruction::DIV_INT_LIT8, - // Instruction::REM_INT_LIT8, - // Instruction::AND_INT_LIT8, - // Instruction::OR_INT_LIT8, - // Instruction::XOR_INT_LIT8, - // Instruction::SHL_INT_LIT8, - // Instruction::SHR_INT_LIT8, - // Instruction::USHR_INT_LIT8, + Instruction::RSUB_INT_LIT8, + Instruction::MUL_INT_LIT8, + Instruction::DIV_INT_LIT8, + Instruction::REM_INT_LIT8, + Instruction::AND_INT_LIT8, + Instruction::OR_INT_LIT8, + Instruction::XOR_INT_LIT8, + Instruction::SHL_INT_LIT8, + Instruction::SHR_INT_LIT8, + Instruction::USHR_INT_LIT8, // Instruction::IGET_QUICK, // Instruction::IGET_WIDE_QUICK, // Instruction::IGET_OBJECT_QUICK, @@ -403,7 +403,7 @@ int arm64_support_list[] = { // kMirOpNop, // kMirOpNullCheck, // kMirOpRangeCheck, - // kMirOpDivZeroCheck, + kMirOpDivZeroCheck, kMirOpCheck, // kMirOpCheckPart2, // kMirOpSelect, @@ -699,7 +699,7 @@ int x86_64_support_list[] = { // V : void // (ARM64) Current calling conversion only support 32bit softfp // which has problems with long, float, double -constexpr char arm64_supported_types[] = "ZBSCILV"; +constexpr char arm64_supported_types[] = "ZBSCILVJ"; // (x84_64) We still have troubles with compiling longs/doubles/floats constexpr char x86_64_supported_types[] = "ZBSCILV"; |