binutils-gdb/opcodes
Matthew Wahab 6351190792 [AArch64] Fix errors rebasing the ARMv8.2 AT and system registers patch
A mistake with rebasing the ARMv8.2 AT instruction patch left this part

+  /* AT S1E1RP, AT S1E1WP.  Values are from aarch64_sys_regs_at.  */
+  if ((reg->value == CPENS (0, C7, C9, 0)
+       || reg->value == CPENS (0, C7, C9, 1))
+      && !AARCH64_CPU_HAS_FEATURE (features, AARCH64_FEATURE_V8_2))
+    return FALSE;

in aarch64_pstatefield_supported_p rather than in
aarch64_sys_ins_reg_supported_p, where it was supposed to be.

The patch adding support for id_aa64mmfr2_el1, also had the effect of
removing a conditional branch in aarch64_sys_reg_supported_p.

The effect of both of these is to suppress an error if some ARMv8.2
system registers are used with the wrong -march settings.

This patch fixes these mistakes.

opcodes/
2015-12-14  Matthew Wahab  <matthew.wahab@arm.com>

	* aarch64-opc.c (aarch64_sys_reg_supported_p): Add mistakenly
	removed statement.
	(aarch64_pstatefield_supported_p): Move feature checks for AT
	registers ..
	(aarch64_sys_ins_reg_supported_p): .. to here.

Change-Id: I48783d118eaaf0f3312e8b08a8340ef7af4e36a4
2015-12-14 16:28:46 +00:00
..
po Update translations. 2015-11-20 12:35:43 +00:00
.gitignore
aarch64-asm-2.c [AArch64][Patch 5/5] Add instruction PSB CSYNC 2015-12-11 10:22:40 +00:00
aarch64-asm.c [AArch64][Patch 4/5] Support HINT aliases taking operands. 2015-12-11 10:12:34 +00:00
aarch64-asm.h [AArch64][Patch 4/5] Support HINT aliases taking operands. 2015-12-11 10:12:34 +00:00
aarch64-dis-2.c [AArch64][Patch 5/5] Add instruction PSB CSYNC 2015-12-11 10:22:40 +00:00
aarch64-dis.c [AArch64][Patch 4/5] Support HINT aliases taking operands. 2015-12-11 10:12:34 +00:00
aarch64-dis.h [AArch64][Patch 4/5] Support HINT aliases taking operands. 2015-12-11 10:12:34 +00:00
aarch64-gen.c [AArch64][Patch 3/5] Adjust maximum number of instruction aliases. 2015-12-11 10:12:08 +00:00
aarch64-opc-2.c [AArch64][Patch 5/5] Add instruction PSB CSYNC 2015-12-11 10:22:40 +00:00
aarch64-opc.c [AArch64] Fix errors rebasing the ARMv8.2 AT and system registers patch 2015-12-14 16:28:46 +00:00
aarch64-opc.h
aarch64-tbl.h [AArch64][Patch 5/5] Add instruction PSB CSYNC 2015-12-11 10:22:40 +00:00
aclocal.m4
alpha-dis.c
alpha-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
arc-dis.c Fix failures in the GAS testsuite for the ARC architecture. 2015-12-04 10:49:57 +00:00
arc-dis.h New ARC implementation. 2015-10-07 14:20:19 +01:00
arc-ext.c New ARC implementation. 2015-10-07 14:20:19 +01:00
arc-ext.h New ARC implementation. 2015-10-07 14:20:19 +01:00
arc-fxi.h New ARC implementation. 2015-10-07 14:20:19 +01:00
arc-opc.c Fix failures in the GAS testsuite for the ARC architecture. 2015-12-04 10:49:57 +00:00
arc-regs.h New ARC implementation. 2015-10-07 14:20:19 +01:00
arc-tbl.h Fix failures in the GAS testsuite for the ARC architecture. 2015-12-04 10:49:57 +00:00
arm-dis.c Fix ldah being disassembled as ldaexh 2015-12-02 09:26:58 +08:00
avr-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
bfin-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
cgen-asm.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
cgen-asm.in Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cgen-bitset.c
cgen-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cgen-dis.in Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cgen-ibld.in Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cgen-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cgen.sh Trailing space in opcodes/ generated files 2015-08-17 12:07:12 +09:30
ChangeLog [AArch64] Fix errors rebasing the ARMv8.2 AT and system registers patch 2015-12-14 16:28:46 +00:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006 Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ChangeLog-2007 Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-9297
ChangeLog-9899
config.in
configure Bump version to 2.26.51 2015-11-14 16:24:39 -08:00
configure.ac Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
configure.com Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cr16-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cr16-opc.c
cris-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
cris-opc.c
crx-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
crx-opc.c
d10v-dis.c
d10v-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
d30v-dis.c
d30v-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
dep-in.sed
dis-buf.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
dis-init.c
disassemble.c Add Intel MCU support to opcodes 2015-05-11 10:48:21 -07:00
dlx-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
epiphany-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
epiphany-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
epiphany-desc.h
epiphany-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
epiphany-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
epiphany-opc.c
epiphany-opc.h
fr30-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
fr30-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
fr30-desc.h
fr30-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
fr30-ibld.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
fr30-opc.c
fr30-opc.h
frv-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
frv-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
frv-desc.h
frv-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
frv-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
frv-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
frv-opc.h
ft32-dis.c The FT32's disassembly of 10-bit literals has the incorrect mask. 2015-09-25 12:33:30 -07:00
ft32-opc.c
h8300-dis.c Remove a if-clause that is redundant because the same test has been performed earlier on. 2015-11-20 14:16:30 +00:00
h8500-dis.c
h8500-opc.h
hppa-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
i370-dis.c
i370-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
i386-dis-evex.h Fix memory operand size for vcvtt?ps2u?qq instructions 2015-07-22 13:26:21 -07:00
i386-dis.c Implement Intel OSPKE instructions 2015-12-09 08:01:57 -08:00
i386-gen.c Implement Intel OSPKE instructions 2015-12-09 08:01:57 -08:00
i386-init.h Implement Intel OSPKE instructions 2015-12-09 08:01:57 -08:00
i386-opc.c
i386-opc.h Implement Intel OSPKE instructions 2015-12-09 08:01:57 -08:00
i386-opc.tbl Implement Intel OSPKE instructions 2015-12-09 08:01:57 -08:00
i386-reg.tbl
i386-tbl.h Implement Intel OSPKE instructions 2015-12-09 08:01:57 -08:00
i860-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
i960-dis.c
ia64-asmtab.c Trailing space in opcodes/ generated files 2015-08-17 12:07:12 +09:30
ia64-asmtab.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ia64-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ia64-gen.c Trailing space in opcodes/ generated files 2015-08-17 12:07:12 +09:30
ia64-ic.tbl
ia64-opc-a.c
ia64-opc-b.c
ia64-opc-d.c
ia64-opc-f.c
ia64-opc-i.c
ia64-opc-m.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ia64-opc-x.c
ia64-opc.c
ia64-opc.h
ia64-raw.tbl
ia64-war.tbl
ia64-waw.tbl
ip2k-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ip2k-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ip2k-desc.h
ip2k-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ip2k-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ip2k-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
ip2k-opc.h
iq2000-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
iq2000-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
iq2000-desc.h
iq2000-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
iq2000-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
iq2000-opc.c
iq2000-opc.h
lm32-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
lm32-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
lm32-desc.h
lm32-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
lm32-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
lm32-opc.c
lm32-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
lm32-opinst.c
m32c-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32c-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32c-desc.h
m32c-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32c-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32c-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32c-opc.h
m32r-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32r-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32r-desc.h
m32r-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32r-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m32r-opc.c
m32r-opc.h
m32r-opinst.c
m68hc11-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m68hc11-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m68k-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m68k-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m88k-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m10200-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m10200-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
m10300-dis.c
m10300-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
MAINTAINERS
Makefile.am Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
Makefile.in Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
makefile.vms Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mcore-dis.c Stop "objdump -d" from disassembling past a symbolic address. 2015-06-22 16:53:27 +01:00
mcore-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mep-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mep-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mep-desc.h
mep-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mep-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mep-opc.c
mep-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
metag-dis.c
microblaze-dis.c
microblaze-dis.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
microblaze-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
microblaze-opcm.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
micromips-opc.c [MIPS] Map 'move' to 'or'. 2015-08-12 17:10:22 +01:00
mips16-opc.c
mips-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
mips-formats.h
mips-opc.c Move copy_u.w to MSA64 ASE, remove copy_u.d. 2015-11-09 08:49:10 +00:00
mmix-dis.c
mmix-opc.c
moxie-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
moxie-opc.c
msp430-decode.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
msp430-decode.opc
msp430-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
mt-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mt-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mt-desc.h
mt-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mt-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mt-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
mt-opc.h
nds32-asm.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
nds32-asm.h
nds32-dis.c
nds32-opc.h
nios2-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
nios2-opc.c Opcodes and assembler support for Nios II R2 2015-07-01 16:08:03 -07:00
ns32k-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
opc2c.c Trailing space in opcodes/ generated files 2015-08-17 12:07:12 +09:30
opintl.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
or1k-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
or1k-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
or1k-desc.h
or1k-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
or1k-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
or1k-opc.c
or1k-opc.h
or1k-opinst.c
pdp11-dis.c
pdp11-opc.c
pj-dis.c
pj-opc.c
ppc-dis.c Add assembler, disassembler and linker support for power9. 2015-11-11 19:52:52 -06:00
ppc-opc.c Enable 2 operand form of powerpc mfcr with -many 2015-12-12 21:34:34 +10:30
rl78-decode.c rl78: Enable MULU for all ISAs. 2015-12-08 00:16:13 -05:00
rl78-decode.opc rl78: Enable MULU for all ISAs. 2015-12-08 00:16:13 -05:00
rl78-dis.c Display system registers by their names when disassembling RL78 instructions. 2015-10-27 14:49:02 +00:00
rx-decode.c Disassemble RX NOP instructions as such. 2015-11-02 14:37:33 +00:00
rx-decode.opc Disassemble RX NOP instructions as such. 2015-11-02 14:37:33 +00:00
rx-dis.c Fix the disassembly of conditional instructions will illegal condition selections. 2015-11-17 11:37:14 +00:00
s390-dis.c
s390-mkopc.c Add support for extensions in the .machine pseudoop on S/390, e.g. ".machine zEC12+nohtm+vx" 2015-09-29 13:22:07 +01:00
s390-opc.c S/390: Fix instruction type of troo, trot, trto, and trtt. 2015-10-14 10:58:41 +02:00
s390-opc.txt S/390: Fix instruction type of troo, trot, trto, and trtt. 2015-10-14 10:58:41 +02:00
score7-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
score-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
score-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
sh64-dis.c
sh64-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
sh64-opc.h
sh-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
sh-opc.h Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
sparc-dis.c Support for the sparc %pmcdper privileged register. 2015-08-25 17:16:34 +02:00
sparc-opc.c
spu-dis.c
spu-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
stamp-h.in
sysdep.h
tic4x-dis.c
tic6x-dis.c Stop "objdump -d" from disassembling past a symbolic address. 2015-06-22 16:53:27 +01:00
tic30-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
tic54x-dis.c
tic54x-opc.c
tic80-dis.c
tic80-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
tilegx-dis.c
tilegx-opc.c
tilepro-dis.c
tilepro-opc.c
v850-dis.c Fix compile time warnings generated when compiling with clang. 2015-09-23 18:05:16 +01:00
v850-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
vax-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
visium-dis.c
visium-opc.c
w65-dis.c
w65-opc.h Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-desc.h
xc16x-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-opc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xc16x-opc.h
xgate-dis.c
xgate-opc.c
xstormy16-asm.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xstormy16-desc.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xstormy16-desc.h
xstormy16-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xstormy16-ibld.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
xstormy16-opc.c
xstormy16-opc.h
xtensa-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00
z8k-dis.c
z8k-opc.h
z8kgen.c
z80-dis.c Remove trailing spaces in opcodes 2015-08-12 04:45:07 -07:00