Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_CONSTANTS_MIPS_H_ | 5 #ifndef VM_CONSTANTS_MIPS_H_ |
| 6 #define VM_CONSTANTS_MIPS_H_ | 6 #define VM_CONSTANTS_MIPS_H_ |
| 7 | 7 |
| 8 namespace dart { | 8 namespace dart { |
| 9 | 9 |
| 10 enum Register { | 10 enum Register { |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 211 LDC2 = 54, | 211 LDC2 = 54, |
| 212 SC = 56, | 212 SC = 56, |
| 213 SWC1 = 57, | 213 SWC1 = 57, |
| 214 SWC2 = 58, | 214 SWC2 = 58, |
| 215 SDC1 = 61, | 215 SDC1 = 61, |
| 216 SDC2 = 62, | 216 SDC2 = 62, |
| 217 }; | 217 }; |
| 218 | 218 |
| 219 | 219 |
| 220 enum SpecialFunction { | 220 enum SpecialFunction { |
| 221 // SPECIAL | |
|
regis
2013/03/08 21:09:03
// SPECIAL opcodes.
| |
| 221 SLL = 0, | 222 SLL = 0, |
| 222 MOVCI = 1, | 223 MOVCI = 1, |
| 223 SRL = 2, | 224 SRL = 2, |
| 224 SRA = 3, | 225 SRA = 3, |
| 225 SLLV = 4, | 226 SLLV = 4, |
| 226 SRLV = 6, | 227 SRLV = 6, |
| 227 SRAV = 7, | 228 SRAV = 7, |
| 228 JR = 8, | 229 JR = 8, |
| 229 JALR = 9, | 230 JALR = 9, |
| 230 MOVZ = 10, | 231 MOVZ = 10, |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 249 XOR = 38, | 250 XOR = 38, |
| 250 NOR = 39, | 251 NOR = 39, |
| 251 SLT = 42, | 252 SLT = 42, |
| 252 SLTU = 43, | 253 SLTU = 43, |
| 253 TGE = 48, | 254 TGE = 48, |
| 254 TGEU = 49, | 255 TGEU = 49, |
| 255 TLT = 50, | 256 TLT = 50, |
| 256 TLTU = 51, | 257 TLTU = 51, |
| 257 TEQ = 52, | 258 TEQ = 52, |
| 258 TNE = 54, | 259 TNE = 54, |
| 260 | |
| 261 // SPECIAL2 | |
|
regis
2013/03/08 21:09:03
// SPECIAL2 opcodes.
| |
| 262 CLZ = 32, | |
| 263 CLO = 33, | |
| 259 }; | 264 }; |
| 260 | 265 |
| 261 | 266 |
| 262 enum RtRegImm { | 267 enum RtRegImm { |
| 263 BLTZ = 0, | 268 BLTZ = 0, |
| 264 BGEZ = 1, | 269 BGEZ = 1, |
| 265 BLTZL = 2, | 270 BLTZL = 2, |
| 266 BGEZL = 3, | 271 BGEZL = 3, |
| 267 TGEI = 8, | 272 TGEI = 8, |
| 268 TGEIU = 9, | 273 TGEIU = 9, |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 346 } | 351 } |
| 347 | 352 |
| 348 private: | 353 private: |
| 349 DISALLOW_ALLOCATION(); | 354 DISALLOW_ALLOCATION(); |
| 350 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); | 355 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); |
| 351 }; | 356 }; |
| 352 | 357 |
| 353 } // namespace dart | 358 } // namespace dart |
| 354 | 359 |
| 355 #endif // VM_CONSTANTS_MIPS_H_ | 360 #endif // VM_CONSTANTS_MIPS_H_ |
| OLD | NEW |