[PATCH] Sparc: Support PSR, TBR, WIM read/write instructions.

Venkatraman Govindaraju venkatra at cs.wisc.edu
Tue Apr 28 20:05:57 PDT 2015


================
Comment at: lib/Target/Sparc/SparcInstrInfo.td:735
@@ -734,1 +734,3 @@
 
+let rs2 = 0, rs1 = 0, Uses=[PSR] in
+  def RDPSR : F3_1<2, 0b101001,
----------------
These instructions and the registers %wim, %tbr, %psr do not exist in sparcV9. Predicate them with HasNoV9.

http://reviews.llvm.org/D8971

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






More information about the llvm-commits mailing list