From 8b8640a9647ecbd461e20ec8ac823c7e5271835f Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Fri, 19 Nov 2010 13:11:50 +0000 Subject: [PATCH] Fix decoding ambiguities of stdrex and ldrex. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119801 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMInstrThumb2.td | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index ca8e7de2665..129481d3bdd 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -2754,10 +2754,8 @@ class T2I_ldrex opcod, dag oops, dag iops, AddrMode am, SizeFlagVal sz, bits<4> Rn; bits<4> Rt; - bits<8> imm; let Inst{19-16} = Rn{3-0}; let Inst{15-12} = Rt{3-0}; - let Inst{7-0} = imm{7-0}; } class T2I_strex opcod, dag oops, dag iops, AddrMode am, SizeFlagVal sz, InstrItinClass itin, string opc, string asm, string cstr, @@ -2772,11 +2770,9 @@ class T2I_strex opcod, dag oops, dag iops, AddrMode am, SizeFlagVal sz, bits<4> Rd; bits<4> Rn; bits<4> Rt; - bits<8> imm; let Inst{11-8} = Rd{3-0}; let Inst{19-16} = Rn{3-0}; let Inst{15-12} = Rt{3-0}; - let Inst{7-0} = imm{7-0}; } let mayLoad = 1 in {