From 0b6be415509b6dc5de80cb4e151b4a7439734b53 Mon Sep 17 00:00:00 2001 From: "Jose E. Marchesi" Date: Wed, 15 Oct 2014 08:46:54 +0200 Subject: opcodes, elf: annotate instructions with HWCAP2_VIS3B. This patch annotates the following SPARC instructions as VIS3B instructions: ldx *, %efsr, fpadd64, fpsub64, fpcmpule8, fpcmpune8, fpcmpugt8, fpcmpueq8. It also improves the documentation of the VIS3B capability in several headers. Tested in sparc64-unknown-linux-gnu and sparc-unknown-linux-gnu. No visible regressions. opcodes/ChangeLog: 2014-10-17 Jose E. Marchesi * sparc-opc.c (sparc-opcodes): Annotate several instructions with the HWCAP2_VIS3B hwcap. include/opcodes/ChangeLog: 2014-10-17 Jose E. Marchesi * sparc.h (HWCAP2_VIS3B): Documentation improved. include/elf/ChangeLog: 2014-10-17 Jose E. Marchesi * sparc.h (ELF_SPARC_HWCAP2_VIS3B): Documentation improved. --- include/elf/ChangeLog | 4 ++++ include/elf/sparc.h | 2 +- include/opcode/ChangeLog | 4 ++++ include/opcode/sparc.h | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 17978ba..001a940 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2014-10-17 Jose E. Marchesi + + * sparc.h (ELF_SPARC_HWCAP2_VIS3B): Documentation improved. + 2014-10-09 Jose E. Marchesi * sparc.h (Tag_GNU_Sparc_HWCAPS2): New object attribute. diff --git a/include/elf/sparc.h b/include/elf/sparc.h index d41ba35..fd17a24f 100644 --- a/include/elf/sparc.h +++ b/include/elf/sparc.h @@ -237,7 +237,7 @@ enum #define ELF_SPARC_HWCAP_CRC32C 0x20000000 /* CRC32C insn */ #define ELF_SPARC_HWCAP2_FJATHPLUS 0x00000001 /* Fujitsu Athena+ */ -#define ELF_SPARC_HWCAP2_VIS3B 0x00000002 /* VIS3 present on multiple chips */ +#define ELF_SPARC_HWCAP2_VIS3B 0x00000002 /* Subset of VIS3 present on sparc64 X+ */ #define ELF_SPARC_HWCAP2_ADP 0x00000004 /* Application Data Protection */ #define ELF_SPARC_HWCAP2_SPARC5 0x00000008 /* The 29 new fp and sub instructions */ #define ELF_SPARC_HWCAP2_MWAIT 0x00000010 /* mwait instruction and load/monitor ASIs */ diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index d378910..a8b6229 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2014-10-17 Jose E. Marchesi + + * sparc.h (HWCAP2_VIS3B): Documentation improved. + 2014-10-09 Jose E. Marchesi * sparc.h (sparc_opcode): new field `hwcaps2'. diff --git a/include/opcode/sparc.h b/include/opcode/sparc.h index cf4ff1c..463b9c1 100644 --- a/include/opcode/sparc.h +++ b/include/opcode/sparc.h @@ -151,7 +151,7 @@ typedef struct sparc_opcode #define HWCAP_CRC32C 0x20000000 /* CRC32C insn */ #define HWCAP2_FJATHPLUS 0x00000001 /* Fujitsu Athena+ */ -#define HWCAP2_VIS3B 0x00000002 /* VIS3 present on multiple chips */ +#define HWCAP2_VIS3B 0x00000002 /* Subset of VIS3 present on sparc64 X+. */ #define HWCAP2_ADP 0x00000004 /* Application Data Protection */ #define HWCAP2_SPARC5 0x00000008 /* The 29 new fp and sub instructions */ #define HWCAP2_MWAIT 0x00000010 /* mwait instruction and load/monitor ASIs */ -- cgit v1.1