redirect add to rv_add
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 14 Oct 2018 04:22:43 +0000 (05:22 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 14 Oct 2018 04:22:43 +0000 (05:22 +0100)
riscv/insns/addw.h

index 706dc9c8f98b55be4bcc43d4bb7693d13bf738f5..2a9dae5e4e0dc4fdf87b7309abb63145dec9c62a 100644 (file)
@@ -1,2 +1,2 @@
 require_rv64;
-WRITE_RD(sext32(RS1 + RS2));
+WRITE_RD(sext32(rv_add(RS1, RS2)));