[SPARC] Recognize st/stx operations with %fsr argument too.
[oota-llvm.git] / test / MC / Sparc / sparc-special-registers.s
index 9eaab2ee2f43130e151f154faed06314004fcb4f..235c4cfedcf840ad9ca2a220cfb357d499250993 100644 (file)
@@ -45,3 +45,9 @@
 
         ! CHECK: ld [%g2+%i5], %fsr    ! encoding: [0xc1,0x08,0x80,0x1d]
         ld [%g2 + %i5],%fsr
+
+        ! CHECK: st %fsr, [%g2+20]     ! encoding: [0xc1,0x28,0xa0,0x14]
+        st %fsr,[%g2 + 20]
+
+        ! CHECK: st %fsr, [%g2+%i5]    ! encoding: [0xc1,0x28,0x80,0x1d]
+        st %fsr,[%g2 + %i5]