Use .word for mret, for now.
authorTim Newsome <tim@sifive.com>
Mon, 23 May 2016 23:24:59 +0000 (16:24 -0700)
committerTim Newsome <tim@sifive.com>
Mon, 23 May 2016 23:24:59 +0000 (16:24 -0700)
The current assembler doesn't seem to know it?

tests/mprv.S

index df346b3504ddc291ed3282424b2a0278c9a64f5f..36d01048bbbc50f85fb52b32187459d702a896ba 100644 (file)
@@ -21,7 +21,7 @@ _start:
         csrw    CSR_MEPC, t0
 
         # Exit supervisor mode, entering user mode at loop.
-        mret
+        .word   0x30200073      # TODO: mret
 
 loop:
         la      t0, data