aarch64: Add support for +mops
[binutils-gdb.git] / include / opcode / tic6x.h
index 7ccffb096ecc0bbdb12af3e93c35cb8ebc96a4a7..019c376c7446aa5a0696e905d92d0bfc83bb071d 100644 (file)
@@ -1,5 +1,5 @@
 /* TI C6X opcode information.
-   Copyright (C) 2010-2014 Free Software Foundation, Inc.
+   Copyright (C) 2010-2021 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #include "bfd.h"
 #include "symcat.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* A field in an instruction format.  The names are based on those
    used in the architecture manuals.  */
 typedef enum
@@ -693,26 +697,30 @@ typedef struct
   unsigned int header;
 
   /* Whether each word uses compact instructions.  */
-  bfd_boolean word_compact[7];
+  bool word_compact[7];
 
   /* Whether loads are protected.  */
-  bfd_boolean prot;
+  bool prot;
 
   /* Whether instructions use the high register set.  */
-  bfd_boolean rs;
+  bool rs;
 
   /* Data size.  */
   unsigned int dsz;
 
   /* Whether compact instructions in the S unit are decoded as
      branches.  */
-  bfd_boolean br;
+  bool br;
 
   /* Whether compact instructions saturate.  */
-  bfd_boolean sat;
+  bool sat;
 
   /* P-bits.  */
-  bfd_boolean p_bits[14];
+  bool p_bits[14];
 } tic6x_fetch_packet_header;
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* OPCODE_TIC6X_H */