[PATCH] D61935: Fixes PPC64 Tbegin disassembling

Philippe Antoine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 15 02:38:15 PDT 2019


catenacyber created this revision.
catenacyber added reviewers: nemanjai, hfinkel, jsji.
Herald added subscribers: llvm-commits, kbarton.
Herald added a project: LLVM.

This may be related to https://bugs.llvm.org/show_bug.cgi?id=41751
See https://github.com/aquynh/capstone/pull/1478


Repository:
  rL LLVM

https://reviews.llvm.org/D61935

Files:
  lib/Target/PowerPC/PPCInstrHTM.td


Index: lib/Target/PowerPC/PPCInstrHTM.td
===================================================================
--- lib/Target/PowerPC/PPCInstrHTM.td
+++ lib/Target/PowerPC/PPCInstrHTM.td
@@ -26,8 +26,9 @@
 
 let Predicates = [HasHTM] in {
 
+let Defs = [CR0] in
 def TBEGIN : XForm_htm0 <31, 654,
-                         (outs crrc0:$ret), (ins u1imm:$R), "tbegin. $R", IIC_SprMTSPR, []>;
+                         (outs), (ins u1imm:$R), "tbegin. $R", IIC_SprMTSPR, []>;
 
 def TEND : XForm_htm1 <31, 686,
                        (outs crrc0:$ret), (ins u1imm:$A), "tend. $A", IIC_SprMTSPR, []>;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61935.199568.patch
Type: text/x-patch
Size: 597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190515/ff78779c/attachment.bin>


More information about the llvm-commits mailing list