diff options
author | Martin Aberg <maberg@gaisler.com> | 2018-08-29 20:52:28 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2018-08-29 20:52:28 +0200 |
commit | df28970fcc741fa744a51aece29bb755c20eceab (patch) | |
tree | 9a37e0ca7847b549f56d17ef7427ec13b45c582a /gas/cond.c | |
parent | 4d3928d7e0a141e0fb16405d33b375cbe2f13123 (diff) | |
download | binutils-df28970fcc741fa744a51aece29bb755c20eceab.zip binutils-df28970fcc741fa744a51aece29bb755c20eceab.tar.gz binutils-df28970fcc741fa744a51aece29bb755c20eceab.tar.bz2 |
sparc/leon: add support for partial write psr instruction
Partial write %PSR (PWRPSR) is a SPARC V8e option that allows the WRPSR
instruction to only affect the %PSR.ET field. When available it is enabled
by setting the rd field of the WRPSR instruction to a value other than 0.
For Leon processors with support for partial write %PSR (currently GR740
and GR716) the rd value must be 1.
opcodes/ChangeLog:
2018-08-29 Martin Aberg <maberg@gaisler.com>
* sparc-opc.c (sparc_opcodes): Add Leon specific partial write
psr (PWRPSR) instruction.
gas/ChangeLog:
2018-08-29 Daniel Cederman <cederman@gaisler.com>
* testsuite/gas/sparc/leon.d: New test.
* testsuite/gas/sparc/leon.s: New test.
* testsuite/gas/sparc/sparc.exp: Execute the pwrpsr test.
Diffstat (limited to 'gas/cond.c')
0 files changed, 0 insertions, 0 deletions