From 5e7cb5fc273f23ba0f5780a38564834cdf14db5a Mon Sep 17 00:00:00 2001 From: Kevin Enderby Date: Wed, 27 Oct 2010 20:46:49 +0000 Subject: Added the x86 instruction ud2b (2nd official undefined instruction). llvm-svn: 117485 --- llvm/lib/Target/X86/X86InstrSystem.td | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Target/X86/X86InstrSystem.td') diff --git a/llvm/lib/Target/X86/X86InstrSystem.td b/llvm/lib/Target/X86/X86InstrSystem.td index 48b6d6ecf07..1a58ba0f96e 100644 --- a/llvm/lib/Target/X86/X86InstrSystem.td +++ b/llvm/lib/Target/X86/X86InstrSystem.td @@ -21,8 +21,10 @@ let Defs = [RAX, RCX, RDX] in // CPU flow control instructions -let isTerminator = 1, isBarrier = 1, hasCtrlDep = 1 in +let isTerminator = 1, isBarrier = 1, hasCtrlDep = 1 in { def TRAP : I<0x0B, RawFrm, (outs), (ins), "ud2", [(trap)]>, TB; + def UD2B : I<0xB9, RawFrm, (outs), (ins), "ud2b", []>, TB; +} def HLT : I<0xF4, RawFrm, (outs), (ins), "hlt", []>; def RSM : I<0xAA, RawFrm, (outs), (ins), "rsm", []>, TB; -- cgit v1.2.3