Add encoding for 'fmstat'.

llvm-svn: 116466
This commit is contained in:
Bill Wendling 2010-10-14 01:19:34 +00:00
parent d62719c3fa
commit 0441c6cba0
3 changed files with 4 additions and 4 deletions

View File

@ -1599,10 +1599,6 @@ void ARMCodeEmitter::emitMiscInstruction(const MachineInstr &MI) {
default:
llvm_unreachable("ARMCodeEmitter::emitMiscInstruction");
case ARM::FMSTAT:
// No further encoding needed.
break;
case ARM::FCONSTD:
case ARM::FCONSTS: {
// Encode Dd / Sd.

View File

@ -927,7 +927,9 @@ def FMSTAT : VFPAI<(outs), (ins), VFPMiscFrm, IIC_fpSTAT, "vmrs",
let Inst{15-12} = 0b1111;
let Inst{11-8} = 0b1010;
let Inst{7} = 0;
let Inst{6-5} = 0b00;
let Inst{4} = 1;
let Inst{3-0} = 0b0000;
}
// FPSCR <-> GPR (for disassembly only)

View File

@ -331,6 +331,8 @@ entry:
ret float %sub
}
; FIXME: Check for fmstat instruction.
define i32 @f100() nounwind readnone {
entry:
; CHECK: f100