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/opcode/sparc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/opcode/sparc.h') 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