diff options
author | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-02-14 18:12:51 +0000 |
---|---|---|
committer | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-02-14 18:12:51 +0000 |
commit | a1ccaec9526b7c2ebd2cc4fc5b5367389dc729ec (patch) | |
tree | eb0104311476f29e0df48480e87bc75183355263 /gas/config | |
parent | 8e1d55a3dfe0d11fcc0921d97a80dc280a1af06b (diff) | |
download | gdb-a1ccaec9526b7c2ebd2cc4fc5b5367389dc729ec.zip gdb-a1ccaec9526b7c2ebd2cc4fc5b5367389dc729ec.tar.gz gdb-a1ccaec9526b7c2ebd2cc4fc5b5367389dc729ec.tar.bz2 |
opcodes/
* aarch64-opc.c (aarch64_prfops): Change unnamed operation 'name'
fields to NULL.
(aarch64_print_operand): Adjust the printing for AARCH64_OPND_PRFOP.
gas/
* config/tc-aarch64.c (md_begin): Change to check if 'name' is
NULL.
gas/testsuite/
* gas/aarch64/system.s: Add tests.
* gas/aarch64/system.d: Update.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-aarch64.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index f9b4cd0..ce597051 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -6867,9 +6867,8 @@ md_begin (void) for (i = 0; i < ARRAY_SIZE (aarch64_prfops); i++) { const char* name = aarch64_prfops[i].name; - /* Skip 0011x, 01xxx, 1011x and 11xxx - the unallocated hint encodings - as a 5-bit immediate #uimm5. */ - if ((i & 0xf) >= 6) + /* Skip the unallocated hint encodings. */ + if (name == NULL) continue; checked_hash_insert (aarch64_pldop_hsh, name, (void *) (aarch64_prfops + i)); |