[PATCH] [mips] [IAS] Add support for the .set oddspreg/nooddspreg directives.

Daniel Sanders daniel.sanders at imgtec.com
Thu Jun 25 07:48:05 PDT 2015


================
Comment at: test/MC/Mips/set-oddspreg-nooddspreg-bad.s:1
@@ +1,2 @@
+# RUN: not llvm-mc %s -triple=mips-unknown-linux -mcpu=mips32 -mattr=+nooddspreg 2>%t1
+# RUN: FileCheck %s < %t1
----------------
The other *-bad.s tests are testing that invalid directives are rejected. This test seems to be checking that valid '.set oddspreg' directives work as intended.

================
Comment at: test/MC/Mips/set-oddspreg-nooddspreg-bad.s:6
@@ +5,3 @@
+  sub.s $f1, $f2, $f2
+  # CHECK-NOT: :[[@LINE-1]]:9: error: -mno-odd-spreg prohibits the use of odd FPU registers
+
----------------
It's probably best to be less strict on the column.

http://reviews.llvm.org/D10657

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






More information about the llvm-commits mailing list