[gas][aarch64][SVE2] Fix pmull{t,b} requirement on SVE2-AES
[deliverable/binutils-gdb.git] / include / opcode / msp430-decode.h
index 70fff07a5eca380dfcef0c45aa9a7d0d349ad693..c5fcdcb303cb97af7bcc799abaa19e8ed5f5be4e 100644 (file)
@@ -1,5 +1,5 @@
 /* Opcode decoder for the TI MSP430
-   Copyright (C) 2012-2014 Free Software Foundation, Inc.
+   Copyright (C) 2012-2019 Free Software Foundation, Inc.
    Written by DJ Delorie <dj@redhat.com>
 
    This file is part of GDB, the GNU Debugger.
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef enum
 {
   MSO_unknown,
@@ -83,13 +87,6 @@ typedef struct
   unsigned char               condition : 3;
 } MSP430_Opcode_Operand;
 
-typedef enum
-{
-  MSP430_Byte = 0,
-  MSP430_Word,
-  MSP430_Addr
-} MSP430_Size;
-
 /* These numerically match the bit encoding.  */
 typedef enum
 {
@@ -121,10 +118,14 @@ typedef struct
   unsigned             repeats:5;      /* Contains COUNT-1, or register number.  */
   int                  n_bytes;        /* Opcode size in BYTES.  */
   char *               syntax;
-  MSP430_Size          size;           /* Operand size in BITS.  */
+  int                  size;           /* Operand size in BITS.  */
   MSP430_Condition     cond;
   /* By convention, these are [0]destination, [1]source.  */
   MSP430_Opcode_Operand        op[2];
 } MSP430_Opcode_Decoded;
 
 int msp430_decode_opcode (unsigned long, MSP430_Opcode_Decoded *, int (*)(void *), void *);
+
+#ifdef __cplusplus
+}
+#endif
This page took 0.032731 seconds and 4 git commands to generate.