1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Added VMOVRRS/VMOVSRR to ARMInstrVFP.td for disassembly purpose.

A8.6.331 VMOV (between two ARM core registers and two single-precision registers)

llvm-svn: 95548
This commit is contained in:
Johnny Chen 2010-02-08 17:26:09 +00:00
parent 70a24159d2
commit 92ec9f2887

View File

@ -252,6 +252,13 @@ def VMOVRRD : AVConv3I<0b11000101, 0b1011,
let Inst{7-6} = 0b00; let Inst{7-6} = 0b00;
} }
def VMOVRRS : AVConv3I<0b11000101, 0b1010,
(outs GPR:$wb, GPR:$dst2), (ins SPR:$src1, SPR:$src2),
IIC_VMOVDI, "vmov", "\t$wb, $dst2, $src1, $src2",
[/* For disassembly only; pattern left blank */]> {
let Inst{7-6} = 0b00;
}
// FMDHR: GPR -> SPR // FMDHR: GPR -> SPR
// FMDLR: GPR -> SPR // FMDLR: GPR -> SPR
@ -262,6 +269,13 @@ def VMOVDRR : AVConv5I<0b11000100, 0b1011,
let Inst{7-6} = 0b00; let Inst{7-6} = 0b00;
} }
def VMOVSRR : AVConv5I<0b11000100, 0b1010,
(outs SPR:$dst1, SPR:$dst2), (ins GPR:$src1, GPR:$src2),
IIC_VMOVID, "vmov", "\t$dst1, $dst2, $src1, $src2",
[/* For disassembly only; pattern left blank */]> {
let Inst{7-6} = 0b00;
}
// FMRDH: SPR -> GPR // FMRDH: SPR -> GPR
// FMRDL: SPR -> GPR // FMRDL: SPR -> GPR
// FMRRS: SPR -> GPR // FMRRS: SPR -> GPR