mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 14:47:00 +00:00
Add instruction definitions for mov r, imm instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4296 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e8b5413e5d
commit
65a78f28e3
@ -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…
Reference in New Issue
Block a user