Imported Upstream version 7.9
[platform/upstream/gdb.git] / include / opcode / nds32.h
index 47b1c49..415f4d3 100644 (file)
@@ -1,5 +1,5 @@
 /* nds32.h -- Header file for nds32 opcode table
-   Copyright (C) 2012-2014 Free Software Foundation, Inc.
+   Copyright (C) 2012-2015 Free Software Foundation, Inc.
    Contributed by Andes Technology Corporation.
 
    This program is free software; you can redistribute it and/or modify
@@ -29,6 +29,7 @@
 #define REG_R16                16
 #define REG_R20                20
 #define REG_TA         15
+#define REG_TP          27
 #define REG_FP         28
 #define REG_GP         29
 #define REG_LP         30
@@ -358,12 +359,13 @@ enum n32_opcodes
   N32_ALU2_SUB_SC,
   N32_ALU2_ADD_WC,
   N32_ALU2_SUB_WC,
-  N32_ALU2_0x14,
+  N32_ALU2_KMxy,
   N32_ALU2_0x15,
   N32_ALU2_0x16,
   N32_ALU2_FFZMISM,
-  N32_ALU2_QADD = 0x18,
-  N32_ALU2_QSUB,
+  N32_ALU2_KADD = 0x18,
+  N32_ALU2_KSUB,
+  N32_ALU2_KSLRA,
   N32_ALU2_MFUSR = 0x20,
   N32_ALU2_MTUSR,
   N32_ALU2_0x22,
@@ -459,7 +461,7 @@ enum n32_opcodes
   N32_MISC_TLBOP,
   N32_MISC_0xf,
 
-  /* bit[0;4] */
+  /* bit[0:4] */
   N32_SIMD_PBSAD = 0,
   N32_SIMD_PBSADA = 1,