[PATCH] D20308: [SystemZ] Fix register ordering for BinaryRRF instructions

Zhan Jun Liau via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 15:21:49 PDT 2016


zhanjunl created this revision.
zhanjunl added reviewers: uweigand, kbarton.
zhanjunl added a subscriber: llvm-commits.

The ordering of registers in BinaryRRF instructions are wrong, and affects the copysign instruction (CPSDR). This results in the wrong magnitude and sign being set.

http://reviews.llvm.org/D20308

Files:
  lib/Target/SystemZ/SystemZInstrFormats.td
  test/CodeGen/SystemZ/fp-copysign-01.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20308.57407.patch
Type: text/x-patch
Size: 3443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160516/79b5f5a6/attachment.bin>


More information about the llvm-commits mailing list