[PATCH] Add direct moves to/from VSR and exploit them for FP/INT conversions

Nemanja Ivanovic nemanja.i.ibm at gmail.com
Thu Apr 9 10:41:42 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/Target/PowerPC/PPCInstrFormats.td:770
@@ +769,3 @@
+  : XX1Form<opcode, xo, OOL, IOL, asmstr, itin, pattern>
+{
+  let B = 0;
----------------
This brace will be moved up to where it should be in the code (already done in my source tree).

================
Comment at: lib/Target/PowerPC/PPCInstrVSX.td:992
@@ +991,2 @@
+                      [(set f64:$XT, (PPCmtvsrz i32:$rA))]>;
+} // HasDirectMove
----------------
In the actual commit, this will have both:
HasDirectMove, HasVSX

to indicate what the brace terminates.

http://reviews.llvm.org/D8928

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list