[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/21124] [PowerPC] Source and target registers must be diffe
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/21124] [PowerPC] Source and target registers must be different for some load instructions - should be decoded as invalid |
Date: |
Mon, 06 Mar 2017 11:34:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21124
--- 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=73f07bffaf8d423295a38dde51dfe6ec7b273280
commit 73f07bffaf8d423295a38dde51dfe6ec7b273280
Author: Alan Modra <address@hidden>
Date: Mon Mar 6 19:39:34 2017 +1030
Don't decode powerpc insns with invalid fields
Certain insns have restrictions on fields. For example, the insn
mentioned in the PR, lqarx, must specify an even general purpose
register as its destination and that register cannot appear in
either of the base or index reg fields. This holds even when the RA0
field is 0 (meaning a zero rather than r0).
PR 21124
* ppc-opc.c (extract_esync, extract_ls, extract_ral, extract_ram)
(extract_raq, extract_ras, extract_rbx): New functions.
(powerpc_operands): Use opposite corresponding insert function.
(Q_MASK): Define.
(powerpc_opcodes): Apply Q_MASK to all quad insns with even
register restriction.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/21124] [PowerPC] Source and target registers must be different for some load instructions - should be decoded as invalid,
cvs-commit at gcc dot gnu.org <=