diff options
author | sekanath <sekanath> | 2013-09-30 17:02:06 +0000 |
---|---|---|
committer | sekanath <sekanath> | 2013-09-30 17:02:06 +0000 |
commit | b1201ac4b646cb3f16a334613a328297bc039493 (patch) | |
tree | 9dab89d68d31d0fbcfe0a73504f8c810d0fc72c2 /opcodes/i386-init.h | |
parent | 6d507eb10c6b0e1c8f0ec3e210ac05efa3b00816 (diff) | |
download | gdb-b1201ac4b646cb3f16a334613a328297bc039493.tar.gz |
Add AMD bdver4 support.
gas/
* config/tc-i386.c (cpu_arch): Add CPU_BDVER4_FLAGS.
* doc/c-i386.texi: Add -march=bdver4 option.
gas/testsuite/
* gas/i386/i386.exp: Run bdver4 test cases.
* gas/i386/nops-1-bdver4.d: New.
* gas/i386/arch-10-bdver4.d: New.
* gas/i386/x86-64-nops-1-bdver4.d: New.
* gas/i386/x86-64-arch-2-bdver4.d: New.
opcodes/
* i386-gen.c (cpu_flag_init): Add CPU_BDVER4_FLAGS.
* i386-init.h: Regenerated.
Diffstat (limited to 'opcodes/i386-init.h')
-rw-r--r-- | opcodes/i386-init.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h index 32f84651be4..fa638a902db 100644 --- a/opcodes/i386-init.h +++ b/opcodes/i386-init.h @@ -175,6 +175,12 @@ 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0, 0, \ 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0 } } +#define CPU_BDVER4_FLAGS \ + { { 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, \ + 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, \ + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, \ + 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0 } } + #define CPU_BTVER1_FLAGS \ { { 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, \ 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ |