diff options
author | Saravanan Ekanathan <saravanan.ekanathan@amd.com> | 2013-09-30 17:02:07 +0000 |
---|---|---|
committer | Saravanan Ekanathan <saravanan.ekanathan@amd.com> | 2013-09-30 17:02:07 +0000 |
commit | c7b0bd56cec703fd6a409568946b505218defa08 (patch) | |
tree | f5c5aeb610a169de5f2a9fe05006b8dd211c97b8 /opcodes/i386-init.h | |
parent | 61d82a0d7855c00ec844163e3e137a97afd72ac9 (diff) | |
download | gdb-c7b0bd56cec703fd6a409568946b505218defa08.zip gdb-c7b0bd56cec703fd6a409568946b505218defa08.tar.gz gdb-c7b0bd56cec703fd6a409568946b505218defa08.tar.bz2 |
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 32f8465..fa638a9 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, \ |