aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2016-02-19 14:27:23 +0000
committerJiong Wang <jiong.wang@arm.com>2016-02-19 14:27:23 +0000
commitb8ec4e871ef7650b852df9956841ee414766de59 (patch)
tree547744178ef3b8f81eed64a88259991e6f692a1a /include/opcode
parent3be64886b5cd7e877d8783a53b81e2c6f7d01307 (diff)
downloadgdb-b8ec4e871ef7650b852df9956841ee414766de59.zip
gdb-b8ec4e871ef7650b852df9956841ee414766de59.tar.gz
gdb-b8ec4e871ef7650b852df9956841ee414766de59.tar.bz2
[ARM] Add FP16 feature extension for ARMv8.2 architecture
include/ * opcode/arm.h (ARM_EXT2_FP16_INSN): New. gas/ * config/tc-arm.c (arm_ext_fp16): New. (arm_extensions): New entry for "fp16".
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/arm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/opcode/arm.h b/include/opcode/arm.h
index eab5025..1dc301e 100644
--- a/include/opcode/arm.h
+++ b/include/opcode/arm.h
@@ -52,7 +52,7 @@
#define ARM_EXT_MP 0x08000000 /* Multiprocessing Extensions. */
#define ARM_EXT_SEC 0x10000000 /* Security extensions. */
#define ARM_EXT_OS 0x20000000 /* OS Extensions. */
-#define ARM_EXT_ADIV 0x40000000 /* Integer divide extensions in ARM
+#define ARM_EXT_ADIV 0x40000000 /* Integer divide extensions in ARM
state. */
#define ARM_EXT_VIRT 0x80000000 /* Virtualization extensions. */
@@ -61,6 +61,7 @@
#define ARM_EXT2_V8M 0x00000004 /* ARM V8M. */
#define ARM_EXT2_ATOMICS 0x00000008 /* ARMv8 atomics. */
#define ARM_EXT2_V6T2_V8M 0x00000010 /* V8M Baseline from V6T2. */
+#define ARM_EXT2_FP16_INST 0x00000020 /* ARM V8.2A FP16 instructions. */
/* Co-processor space extensions. */
#define ARM_CEXT_XSCALE 0x00000001 /* Allow MIA etc. */