[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/21118] As silently converts registers to immediates
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gas/21118] As silently converts registers to immediates |
Date: |
Tue, 14 Feb 2017 10:43:13 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21118
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7e0de605cbacbbbb2531bb70506c0843aea13111
commit 7e0de605cbacbbbb2531bb70506c0843aea13111
Author: Alan Modra <address@hidden>
Date: Tue Feb 14 20:38:21 2017 +1030
PowerPC register expression checks
This stops powerpc gas blithely accepting such nonsense as
"addi %f4,%cr3,%r31".
PR 21118
gas/
* NEWS: Mention powerpc register checks.
* config/tc-ppc.c (struct pd_reg): Make value a short. Add flags.
(pre_defined_registers): Delete fpscr and pmr entries. Set
register type in flags.
(cr_names): Set type in flags.
(reg_name_search): Return pointer to struct pd_reg rather than value.
(register_name): Adjust to suit. Set X_md from flags.
(ppc_parse_name): Likewise.
(ppc_optimize_expr): New function.
(md_assemble): Verify expresion reg flags match operand.
* config/tc-ppc.h (md_optimize_expr): Define.
(ppc_optimize_expr): Declare.
include/
* opcode/ppc.h (PPC_OPERAND_*): Reassign values, regs first.
(PPC_OPERAND_SPR, PPC_OPERAND_GQR): Define.
opcodes/
* ppc-opc.c (powerpc_operands): Flag SPR, SPRG and TBR entries
with PPC_OPERAND_SPR. Flag PSQ and PSQM with PPC_OPERAND_GQR.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/21118] New: As silently converts registers to immediates, nikita at karetnikov dot org, 2017/02/09
- [Bug gas/21118] As silently converts registers to immediates, nikita at karetnikov dot org, 2017/02/09
- [Bug gas/21118] As silently converts registers to immediates, amodra at gmail dot com, 2017/02/11
- [Bug gas/21118] As silently converts registers to immediates, amodra at gmail dot com, 2017/02/12
- [Bug gas/21118] As silently converts registers to immediates, cvs-commit at gcc dot gnu.org, 2017/02/14
- [Bug gas/21118] As silently converts registers to immediates,
cvs-commit at gcc dot gnu.org <=
- [Bug gas/21118] As silently converts registers to immediates, cvs-commit at gcc dot gnu.org, 2017/02/14
- [Bug gas/21118] As silently converts registers to immediates, amodra at gmail dot com, 2017/02/14
- [Bug gas/21118] As silently converts registers to immediates, cvs-commit at gcc dot gnu.org, 2017/02/20