mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 20:27:42 +00:00
Add instruction definitions for mov r, imm instructions
llvm-svn: 4296
This commit is contained in:
parent
2bc0fd8115
commit
046cb65220
@ -31,8 +31,14 @@ I(NOOP , "nop", 0, 0) // nop 90
|
||||
// Miscellaneous instructions
|
||||
I(RET , "ret", MIF::RET, 0) // ret CB
|
||||
|
||||
I(ADDrr8 , "add", 0, 0) // R8 += R8 00/r
|
||||
I(ADDrr16 , "add", 0, 0) // R16 += R16 01/r
|
||||
// Move instructions
|
||||
I(MOVir8 , "movb", 0, 0) // R = imm8 B0+ rb
|
||||
I(MOVir16 , "movw", 0, 0) // R = imm16 B8+ rw
|
||||
I(MOVir32 , "movl", 0, 0) // R = imm32 B8+ rd
|
||||
|
||||
// Arithmetic instructions
|
||||
I(ADDrr8 , "addb", 0, 0) // R8 += R8 00/r
|
||||
I(ADDrr16 , "addw", 0, 0) // R16 += R16 01/r
|
||||
I(ADDrr32 , "addl", 0, 0) // R32 += R32 02/r
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user