about summary refs log tree commit diff
path: root/sysdeps/loongarch/sys/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/loongarch/sys/asm.h')
-rw-r--r--sysdeps/loongarch/sys/asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/loongarch/sys/asm.h b/sysdeps/loongarch/sys/asm.h
index 3dca70a107..0bb430bb05 100644
--- a/sysdeps/loongarch/sys/asm.h
+++ b/sysdeps/loongarch/sys/asm.h
@@ -31,6 +31,7 @@
 #define SLLI slli.d
 #define ADDI addi.d
 #define ADD  add.d
+#define SUB  sub.d
 #define BSTRINS  bstrins.d
 #define LI  li.d
 #define FREG_L fld.d