diff options
author | Catherine Moore <clm@codesourcery.com> | 2008-11-18 15:45:05 +0000 |
---|---|---|
committer | Catherine Moore <clm@codesourcery.com> | 2008-11-18 15:45:05 +0000 |
commit | b1230ddef75de76a9682ee178d02e19423213b63 (patch) | |
tree | f278a6ca3aaadc74a125ca60d310762ba41925f7 /include/opcode/arm.h | |
parent | aa677662af030f7b87d5c2ec661cd6693fb47215 (diff) | |
download | cygnal-b1230ddef75de76a9682ee178d02e19423213b63.tar.gz cygnal-b1230ddef75de76a9682ee178d02e19423213b63.tar.bz2 cygnal-b1230ddef75de76a9682ee178d02e19423213b63.zip |
Add support for ARM half-precision conversion instructions.
Diffstat (limited to 'include/opcode/arm.h')
-rw-r--r-- | include/opcode/arm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/opcode/arm.h b/include/opcode/arm.h index 11cab3e84..a639a8b04 100644 --- a/include/opcode/arm.h +++ b/include/opcode/arm.h @@ -65,6 +65,7 @@ #define FPU_VFP_EXT_V3 0x01000000 /* VFPv3 insns. */ #define FPU_NEON_EXT_V1 0x00800000 /* Neon (SIMD) insns. */ #define FPU_VFP_EXT_D32 0x00400000 /* Registers D16-D31. */ +#define FPU_NEON_FP16 0x00200000 /* Half-precision extensions. */ /* Architectures are the sum of the base and extensions. The ARM ARM (rev E) defines the following: ARMv3, ARMv3M, ARMv4xM, ARMv4, ARMv4TxM, ARMv4T, @@ -139,6 +140,8 @@ #define FPU_ARCH_NEON_V1 ARM_FEATURE (0, FPU_NEON_EXT_V1) #define FPU_ARCH_VFP_V3_PLUS_NEON_V1 \ ARM_FEATURE (0, FPU_VFP_V3 | FPU_NEON_EXT_V1) +#define FPU_ARCH_NEON_FP16 \ + ARM_FEATURE (0, FPU_VFP_V3 | FPU_NEON_EXT_V1 | FPU_NEON_FP16) #define FPU_ARCH_VFP_HARD ARM_FEATURE (0, FPU_VFP_HARD) #define FPU_ARCH_ENDIAN_PURE ARM_FEATURE (0, FPU_ENDIAN_PURE) |