Skip to content

Commit

Permalink
[AArch64] Support id_mmfr4 system register
Browse files Browse the repository at this point in the history
2015-06-16  Matthew Wahab  <[email protected]>
opcodes/
  * aarch64-opc.c (aarch64_sys_regs): Add "id_mmfr4_el1".

gas/testsuite
  * sysreg.d: Add id_mmfr4_el1, update expected output.
  * sysreg.s: Add id_mmfr4_el1.
  • Loading branch information
Matthew Wahab authored and Jiong Wang committed Jun 16, 2015
1 parent 56f4083 commit bdfa8b9
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
5 changes: 5 additions & 0 deletions gas/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2015-06-16 Matthew Wahab <[email protected]>

* sysreg.d: Add id_mmfr4_el1, update expected output.
* sysreg.s: Add id_mmfr4_el1.

2015-06-15 Renlin Li <[email protected]>

* gas/aarch64/reloc-insn.s: Update test
Expand Down
23 changes: 12 additions & 11 deletions gas/testsuite/gas/aarch64/sysreg.d
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ Disassembly of section \.text:
24: d53801a0 mrs x0, id_mmfr1_el1
28: d53801c0 mrs x0, id_mmfr2_el1
2c: d53801e0 mrs x0, id_mmfr3_el1
30: d5380200 mrs x0, id_isar0_el1
34: d5380220 mrs x0, id_isar1_el1
38: d5380240 mrs x0, id_isar2_el1
3c: d5380260 mrs x0, id_isar3_el1
40: d5380280 mrs x0, id_isar4_el1
44: d53802a0 mrs x0, id_isar5_el1
48: d538cc00 mrs x0, s3_0_c12_c12_0
4c: d5384600 mrs x0, s3_0_c4_c6_0
50: d5184600 msr s3_0_c4_c6_0, x0
54: d5310300 mrs x0, s2_1_c0_c3_0
58: d5110300 msr s2_1_c0_c3_0, x0
30: d53802c0 mrs x0, id_mmfr4_el1
34: d5380200 mrs x0, id_isar0_el1
38: d5380220 mrs x0, id_isar1_el1
3c: d5380240 mrs x0, id_isar2_el1
40: d5380260 mrs x0, id_isar3_el1
44: d5380280 mrs x0, id_isar4_el1
48: d53802a0 mrs x0, id_isar5_el1
4c: d538cc00 mrs x0, s3_0_c12_c12_0
50: d5384600 mrs x0, s3_0_c4_c6_0
54: d5184600 msr s3_0_c4_c6_0, x0
58: d5310300 mrs x0, s2_1_c0_c3_0
5c: d5110300 msr s2_1_c0_c3_0, x0
1 change: 1 addition & 0 deletions gas/testsuite/gas/aarch64/sysreg.s
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
mrs x0, id_mmfr1_el1
mrs x0, id_mmfr2_el1
mrs x0, id_mmfr3_el1
mrs x0, id_mmfr4_el1
mrs x0, id_isar0_el1
mrs x0, id_isar1_el1
mrs x0, id_isar2_el1
Expand Down
4 changes: 4 additions & 0 deletions opcodes/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2015-06-16 Matthew Wahab <[email protected]>

* arch64-opc.c (aarch64_sys_regs): Add "id_mmfr4_el1".

2015-06-16 Szabolcs Nagy <[email protected]>

* arm-dis.c (print_insn_coprocessor): Avoid negative shift.
Expand Down
1 change: 1 addition & 0 deletions opcodes/aarch64-opc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2772,6 +2772,7 @@ const aarch64_sys_reg aarch64_sys_regs [] =
{ "id_mmfr1_el1", CPENC(3,0,C0,C1,5), 0 }, /* RO */
{ "id_mmfr2_el1", CPENC(3,0,C0,C1,6), 0 }, /* RO */
{ "id_mmfr3_el1", CPENC(3,0,C0,C1,7), 0 }, /* RO */
{ "id_mmfr4_el1", CPENC(3,0,C0,C2,6), 0 }, /* RO */
{ "id_isar0_el1", CPENC(3,0,C0,C2,0), 0 }, /* RO */
{ "id_isar1_el1", CPENC(3,0,C0,C2,1), 0 }, /* RO */
{ "id_isar2_el1", CPENC(3,0,C0,C2,2), 0 }, /* RO */
Expand Down

0 comments on commit bdfa8b9

Please sign in to comment.