buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
buzbee | b046e16 | 2012-10-30 15:48:42 -0700 | [diff] [blame] | 17 | /* This file contains mips-specific codegen factory support. */ |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 18 | |
Ian Rogers | 57b86d4 | 2012-03-27 16:05:41 -0700 | [diff] [blame] | 19 | #include "oat/runtime/oat_support_entrypoints.h" |
| 20 | |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 21 | namespace art { |
| 22 | |
buzbee | 408ad16 | 2012-06-06 16:45:18 -0700 | [diff] [blame] | 23 | bool genAddLong(CompilationUnit* cUnit, RegLocation rlDest, |
buzbee | c5159d5 | 2012-03-03 11:48:39 -0800 | [diff] [blame] | 24 | RegLocation rlSrc1, RegLocation rlSrc2) |
| 25 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 26 | rlSrc1 = loadValueWide(cUnit, rlSrc1, kCoreReg); |
| 27 | rlSrc2 = loadValueWide(cUnit, rlSrc2, kCoreReg); |
| 28 | RegLocation rlResult = oatEvalLoc(cUnit, rlDest, kCoreReg, true); |
| 29 | /* |
| 30 | * [v1 v0] = [a1 a0] + [a3 a2]; |
| 31 | * addu v0,a2,a0 |
| 32 | * addu t1,a3,a1 |
| 33 | * sltu v1,v0,a2 |
| 34 | * addu v1,v1,t1 |
| 35 | */ |
buzbee | c5159d5 | 2012-03-03 11:48:39 -0800 | [diff] [blame] | 36 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 37 | opRegRegReg(cUnit, kOpAdd, rlResult.lowReg, rlSrc2.lowReg, rlSrc1.lowReg); |
| 38 | int tReg = oatAllocTemp(cUnit); |
| 39 | opRegRegReg(cUnit, kOpAdd, tReg, rlSrc2.highReg, rlSrc1.highReg); |
| 40 | newLIR3(cUnit, kMipsSltu, rlResult.highReg, rlResult.lowReg, rlSrc2.lowReg); |
| 41 | opRegRegReg(cUnit, kOpAdd, rlResult.highReg, rlResult.highReg, tReg); |
| 42 | oatFreeTemp(cUnit, tReg); |
| 43 | storeValueWide(cUnit, rlDest, rlResult); |
| 44 | return false; |
buzbee | c5159d5 | 2012-03-03 11:48:39 -0800 | [diff] [blame] | 45 | } |
| 46 | |
buzbee | 408ad16 | 2012-06-06 16:45:18 -0700 | [diff] [blame] | 47 | bool genSubLong(CompilationUnit* cUnit, RegLocation rlDest, |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 48 | RegLocation rlSrc1, RegLocation rlSrc2) |
buzbee | c5159d5 | 2012-03-03 11:48:39 -0800 | [diff] [blame] | 49 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 50 | rlSrc1 = loadValueWide(cUnit, rlSrc1, kCoreReg); |
| 51 | rlSrc2 = loadValueWide(cUnit, rlSrc2, kCoreReg); |
| 52 | RegLocation rlResult = oatEvalLoc(cUnit, rlDest, kCoreReg, true); |
| 53 | /* |
| 54 | * [v1 v0] = [a1 a0] - [a3 a2]; |
jeffhao | 09cd727 | 2012-10-29 16:37:01 -0700 | [diff] [blame] | 55 | * sltu t1,a0,a2 |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 56 | * subu v0,a0,a2 |
| 57 | * subu v1,a1,a3 |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 58 | * subu v1,v1,t1 |
| 59 | */ |
buzbee | c5159d5 | 2012-03-03 11:48:39 -0800 | [diff] [blame] | 60 | |
jeffhao | 09cd727 | 2012-10-29 16:37:01 -0700 | [diff] [blame] | 61 | int tReg = oatAllocTemp(cUnit); |
| 62 | newLIR3(cUnit, kMipsSltu, tReg, rlSrc1.lowReg, rlSrc2.lowReg); |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 63 | opRegRegReg(cUnit, kOpSub, rlResult.lowReg, rlSrc1.lowReg, rlSrc2.lowReg); |
| 64 | opRegRegReg(cUnit, kOpSub, rlResult.highReg, rlSrc1.highReg, rlSrc2.highReg); |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 65 | opRegRegReg(cUnit, kOpSub, rlResult.highReg, rlResult.highReg, tReg); |
| 66 | oatFreeTemp(cUnit, tReg); |
| 67 | storeValueWide(cUnit, rlDest, rlResult); |
| 68 | return false; |
buzbee | c5159d5 | 2012-03-03 11:48:39 -0800 | [diff] [blame] | 69 | } |
| 70 | |
buzbee | 408ad16 | 2012-06-06 16:45:18 -0700 | [diff] [blame] | 71 | bool genNegLong(CompilationUnit* cUnit, RegLocation rlDest, |
buzbee | c5159d5 | 2012-03-03 11:48:39 -0800 | [diff] [blame] | 72 | RegLocation rlSrc) |
| 73 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 74 | rlSrc = loadValueWide(cUnit, rlSrc, kCoreReg); |
| 75 | RegLocation rlResult = oatEvalLoc(cUnit, rlDest, kCoreReg, true); |
| 76 | /* |
| 77 | * [v1 v0] = -[a1 a0] |
| 78 | * negu v0,a0 |
| 79 | * negu v1,a1 |
| 80 | * sltu t1,r_zero |
| 81 | * subu v1,v1,t1 |
| 82 | */ |
buzbee | c5159d5 | 2012-03-03 11:48:39 -0800 | [diff] [blame] | 83 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 84 | opRegReg(cUnit, kOpNeg, rlResult.lowReg, rlSrc.lowReg); |
| 85 | opRegReg(cUnit, kOpNeg, rlResult.highReg, rlSrc.highReg); |
| 86 | int tReg = oatAllocTemp(cUnit); |
| 87 | newLIR3(cUnit, kMipsSltu, tReg, r_ZERO, rlResult.lowReg); |
| 88 | opRegRegReg(cUnit, kOpSub, rlResult.highReg, rlResult.highReg, tReg); |
| 89 | oatFreeTemp(cUnit, tReg); |
| 90 | storeValueWide(cUnit, rlDest, rlResult); |
| 91 | return false; |
buzbee | c5159d5 | 2012-03-03 11:48:39 -0800 | [diff] [blame] | 92 | } |
| 93 | |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 94 | /* |
buzbee | 5de3494 | 2012-03-01 14:51:57 -0800 | [diff] [blame] | 95 | * In the Arm code a it is typical to use the link register |
| 96 | * to hold the target address. However, for Mips we must |
| 97 | * ensure that all branch instructions can be restarted if |
| 98 | * there is a trap in the shadow. Allocate a temp register. |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 99 | */ |
buzbee | 5de3494 | 2012-03-01 14:51:57 -0800 | [diff] [blame] | 100 | int loadHelper(CompilationUnit* cUnit, int offset) |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 101 | { |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 102 | loadWordDisp(cUnit, rMIPS_SELF, offset, r_T9); |
jeffhao | fa147e2 | 2012-10-12 17:03:32 -0700 | [diff] [blame] | 103 | return r_T9; |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 104 | } |
| 105 | |
buzbee | 5de3494 | 2012-03-01 14:51:57 -0800 | [diff] [blame] | 106 | void spillCoreRegs(CompilationUnit* cUnit) |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 107 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 108 | if (cUnit->numCoreSpills == 0) { |
| 109 | return; |
| 110 | } |
| 111 | uint32_t mask = cUnit->coreSpillMask; |
| 112 | int offset = cUnit->numCoreSpills * 4; |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 113 | opRegImm(cUnit, kOpSub, rMIPS_SP, offset); |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 114 | for (int reg = 0; mask; mask >>= 1, reg++) { |
| 115 | if (mask & 0x1) { |
| 116 | offset -= 4; |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 117 | storeWordDisp(cUnit, rMIPS_SP, offset, reg); |
buzbee | 5de3494 | 2012-03-01 14:51:57 -0800 | [diff] [blame] | 118 | } |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 119 | } |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 120 | } |
| 121 | |
buzbee | 5de3494 | 2012-03-01 14:51:57 -0800 | [diff] [blame] | 122 | void unSpillCoreRegs(CompilationUnit* cUnit) |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 123 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 124 | if (cUnit->numCoreSpills == 0) { |
| 125 | return; |
| 126 | } |
| 127 | uint32_t mask = cUnit->coreSpillMask; |
| 128 | int offset = cUnit->frameSize; |
| 129 | for (int reg = 0; mask; mask >>= 1, reg++) { |
| 130 | if (mask & 0x1) { |
| 131 | offset -= 4; |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 132 | loadWordDisp(cUnit, rMIPS_SP, offset, reg); |
buzbee | 5de3494 | 2012-03-01 14:51:57 -0800 | [diff] [blame] | 133 | } |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 134 | } |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 135 | opRegImm(cUnit, kOpAdd, rMIPS_SP, cUnit->frameSize); |
buzbee | 5de3494 | 2012-03-01 14:51:57 -0800 | [diff] [blame] | 136 | } |
| 137 | |
buzbee | ad8f15e | 2012-06-18 14:49:45 -0700 | [diff] [blame] | 138 | void genEntrySequence(CompilationUnit* cUnit, RegLocation* argLocs, |
| 139 | RegLocation rlMethod) |
buzbee | 5de3494 | 2012-03-01 14:51:57 -0800 | [diff] [blame] | 140 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 141 | int spillCount = cUnit->numCoreSpills + cUnit->numFPSpills; |
| 142 | /* |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 143 | * On entry, rMIPS_ARG0, rMIPS_ARG1, rMIPS_ARG2 & rMIPS_ARG3 are live. Let the register |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 144 | * allocation mechanism know so it doesn't try to use any of them when |
| 145 | * expanding the frame or flushing. This leaves the utility |
| 146 | * code with a single temp: r12. This should be enough. |
| 147 | */ |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 148 | oatLockTemp(cUnit, rMIPS_ARG0); |
| 149 | oatLockTemp(cUnit, rMIPS_ARG1); |
| 150 | oatLockTemp(cUnit, rMIPS_ARG2); |
| 151 | oatLockTemp(cUnit, rMIPS_ARG3); |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 152 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 153 | /* |
| 154 | * We can safely skip the stack overflow check if we're |
| 155 | * a leaf *and* our frame size < fudge factor. |
| 156 | */ |
| 157 | bool skipOverflowCheck = ((cUnit->attrs & METHOD_IS_LEAF) && |
| 158 | ((size_t)cUnit->frameSize < Thread::kStackOverflowReservedBytes)); |
| 159 | newLIR0(cUnit, kPseudoMethodEntry); |
| 160 | int checkReg = oatAllocTemp(cUnit); |
| 161 | int newSP = oatAllocTemp(cUnit); |
| 162 | if (!skipOverflowCheck) { |
| 163 | /* Load stack limit */ |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 164 | loadWordDisp(cUnit, rMIPS_SELF, Thread::StackEndOffset().Int32Value(), checkReg); |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 165 | } |
| 166 | /* Spill core callee saves */ |
| 167 | spillCoreRegs(cUnit); |
| 168 | /* NOTE: promotion of FP regs currently unsupported, thus no FP spill */ |
| 169 | DCHECK_EQ(cUnit->numFPSpills, 0); |
| 170 | if (!skipOverflowCheck) { |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 171 | opRegRegImm(cUnit, kOpSub, newSP, rMIPS_SP, cUnit->frameSize - (spillCount * 4)); |
buzbee | 408ad16 | 2012-06-06 16:45:18 -0700 | [diff] [blame] | 172 | genRegRegCheck(cUnit, kCondCc, newSP, checkReg, kThrowStackOverflow); |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 173 | opRegCopy(cUnit, rMIPS_SP, newSP); // Establish stack |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 174 | } else { |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 175 | opRegImm(cUnit, kOpSub, rMIPS_SP, cUnit->frameSize - (spillCount * 4)); |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 176 | } |
buzbee | 9c044ce | 2012-03-18 13:24:07 -0700 | [diff] [blame] | 177 | |
buzbee | ad8f15e | 2012-06-18 14:49:45 -0700 | [diff] [blame] | 178 | flushIns(cUnit, argLocs, rlMethod); |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 179 | |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 180 | oatFreeTemp(cUnit, rMIPS_ARG0); |
| 181 | oatFreeTemp(cUnit, rMIPS_ARG1); |
| 182 | oatFreeTemp(cUnit, rMIPS_ARG2); |
| 183 | oatFreeTemp(cUnit, rMIPS_ARG3); |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 184 | } |
| 185 | |
buzbee | 2cfc639 | 2012-05-07 14:51:40 -0700 | [diff] [blame] | 186 | void genExitSequence(CompilationUnit* cUnit) |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 187 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 188 | /* |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 189 | * In the exit path, rMIPS_RET0/rMIPS_RET1 are live - make sure they aren't |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 190 | * allocated by the register utilities as temps. |
| 191 | */ |
buzbee | f0504cd | 2012-11-13 16:31:10 -0800 | [diff] [blame^] | 192 | oatLockTemp(cUnit, rMIPS_RET0); |
| 193 | oatLockTemp(cUnit, rMIPS_RET1); |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 194 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 195 | newLIR0(cUnit, kPseudoMethodExit); |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 196 | unSpillCoreRegs(cUnit); |
| 197 | opReg(cUnit, kOpBx, r_RA); |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 198 | } |
| 199 | |
| 200 | /* |
| 201 | * Nop any unconditional branches that go to the next instruction. |
| 202 | * Note: new redundant branches may be inserted later, and we'll |
| 203 | * use a check in final instruction assembly to nop those out. |
| 204 | */ |
| 205 | void removeRedundantBranches(CompilationUnit* cUnit) |
| 206 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 207 | LIR* thisLIR; |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 208 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 209 | for (thisLIR = (LIR*) cUnit->firstLIRInsn; |
| 210 | thisLIR != (LIR*) cUnit->lastLIRInsn; |
| 211 | thisLIR = NEXT_LIR(thisLIR)) { |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 212 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 213 | /* Branch to the next instruction */ |
| 214 | if (thisLIR->opcode == kMipsB) { |
| 215 | LIR* nextLIR = thisLIR; |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 216 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 217 | while (true) { |
| 218 | nextLIR = NEXT_LIR(nextLIR); |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 219 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 220 | /* |
| 221 | * Is the branch target the next instruction? |
| 222 | */ |
| 223 | if (nextLIR == (LIR*) thisLIR->target) { |
| 224 | thisLIR->flags.isNop = true; |
| 225 | break; |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 226 | } |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 227 | |
| 228 | /* |
| 229 | * Found real useful stuff between the branch and the target. |
| 230 | * Need to explicitly check the lastLIRInsn here because it |
| 231 | * might be the last real instruction. |
| 232 | */ |
| 233 | if (!isPseudoOpcode(nextLIR->opcode) || |
| 234 | (nextLIR = (LIR*) cUnit->lastLIRInsn)) |
| 235 | break; |
| 236 | } |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 237 | } |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 238 | } |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 239 | } |
| 240 | |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 241 | |
| 242 | /* Common initialization routine for an architecture family */ |
| 243 | bool oatArchInit() |
| 244 | { |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 245 | int i; |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 246 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 247 | for (i = 0; i < kMipsLast; i++) { |
| 248 | if (EncodingMap[i].opcode != i) { |
| 249 | LOG(FATAL) << "Encoding order for " << EncodingMap[i].name << |
| 250 | " is wrong: expecting " << i << ", seeing " << |
| 251 | (int)EncodingMap[i].opcode; |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 252 | } |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 253 | } |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 254 | |
Bill Buzbee | a114add | 2012-05-03 15:00:40 -0700 | [diff] [blame] | 255 | return oatArchVariantInit(); |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 256 | } |
| 257 | |
buzbee | b046e16 | 2012-10-30 15:48:42 -0700 | [diff] [blame] | 258 | bool genAndLong(CompilationUnit* cUnit, RegLocation rlDest, |
| 259 | RegLocation rlSrc1, RegLocation rlSrc2) |
| 260 | { |
| 261 | LOG(FATAL) << "Unexpected use of genAndLong for Mips"; |
| 262 | return false; |
| 263 | } |
| 264 | |
| 265 | bool genOrLong(CompilationUnit* cUnit, RegLocation rlDest, |
| 266 | RegLocation rlSrc1, RegLocation rlSrc2) |
| 267 | { |
| 268 | LOG(FATAL) << "Unexpected use of genOrLong for Mips"; |
| 269 | return false; |
| 270 | } |
| 271 | |
| 272 | bool genXorLong(CompilationUnit* cUnit, RegLocation rlDest, |
| 273 | RegLocation rlSrc1, RegLocation rlSrc2) |
| 274 | { |
| 275 | LOG(FATAL) << "Unexpected use of genXorLong for Mips"; |
| 276 | return false; |
| 277 | } |
| 278 | |
| 279 | |
| 280 | |
buzbee | e3acd07 | 2012-02-25 17:03:10 -0800 | [diff] [blame] | 281 | } // namespace art |