/* 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
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 */