binutils-gdb/include/opcode/arc-attrs.h
Alan Modra fd67aa1129 Update year range in copyright notice of binutils files
Adds two new external authors to etc/update-copyright.py to cover
bfd/ax_tls.m4, and adds gprofng to dirs handled automatically, then
updates copyright messages as follows:

1) Update cgen/utils.scm emitted copyrights.
2) Run "etc/update-copyright.py --this-year" with an extra external
   author I haven't committed, 'Kalray SA.', to cover gas testsuite
   files (which should have their copyright message removed).
3) Build with --enable-maintainer-mode --enable-cgen-maint=yes.
4) Check out */po/*.pot which we don't update frequently.
2024-01-04 22:58:12 +10:30

73 lines
2.5 KiB
C

/* Copyright (C) 1994-2024 Free Software Foundation, Inc.
Contributed by Claudiu Zissulescu (claziss@synopsys.com)
This file is part of GAS, the GNU Assembler, GDB, the GNU debugger, and
the GNU Binutils.
GAS/GDB is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
GAS/GDB is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GAS or GDB; see the file COPYING3. If not, write to
the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef ATTRS_ARC_H
#define ATTRS_ARC_H
#ifndef FEATURE_LIST_NAME
#define FEATURE_LIST_NAME feature_list
#endif
/* A table with cpu features. */
const struct feature_type
{
unsigned feature;
unsigned cpus;
const char *attr;
const char *name;
} FEATURE_LIST_NAME [] =
{
{ BTSCN, ARC_OPCODE_ARCALL, "BITSCAN", "bit-scan" },
{ CD, ARC_OPCODE_ARCV2, "CD", "code-density" },
{ DIV, ARC_OPCODE_ARCV2, "DIV_REM", "div/rem" },
{ DP, ARC_OPCODE_ARCv2HS, "FPUD", "double-precision FPU" },
{ DPA, ARC_OPCODE_ARCv2EM, "FPUDA", "double assist FP" },
{ DPX, ARC_OPCODE_ARCFPX, "DPFP", "double-precision FPX" },
{ LL64, ARC_OPCODE_ARCv2HS, "LL64", "double load/store" },
{ NPS400, ARC_OPCODE_ARC700, "NPS400", "nps400" },
{ QUARKSE1, ARC_OPCODE_ARCv2EM, "QUARKSE1", "QuarkSE-EM" },
{ QUARKSE2, ARC_OPCODE_ARCv2EM, "QUARKSE2", "QuarkSE-EM" },
{ SHFT1, ARC_OPCODE_ARCALL, "SA", "shift assist" },
{ SHFT2, ARC_OPCODE_ARCALL, "BS", "barrel-shifter" },
{ SWAP, ARC_OPCODE_ARCALL, "SWAP", "swap" },
{ SP, ARC_OPCODE_ARCV2, "FPUS", "single-precision FPU" },
{ SPX, ARC_OPCODE_ARCFPX, "SPFP", "single-precision FPX" }
};
#ifndef CONFLICT_LIST
#define CONFLICT_LIST conflict_list
#endif
/* A table with conflicting features. */
const unsigned CONFLICT_LIST [] = {
NPS400 | SPX,
NPS400 | DPX,
DPX | DPA,
SP | DPX,
SP | SPX,
DP | DPX,
DP | SPX,
QUARKSE1 | DP,
QUARKSE1 | SP
};
#endif