sparc/leon: add support for partial write psr instruction
authorMartin Aberg <maberg@gaisler.com>
Wed, 29 Aug 2018 18:52:28 +0000 (20:52 +0200)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Wed, 29 Aug 2018 18:52:28 +0000 (20:52 +0200)
commitdf28970fcc741fa744a51aece29bb755c20eceab
tree9a37e0ca7847b549f56d17ef7427ec13b45c582a
parent4d3928d7e0a141e0fb16405d33b375cbe2f13123
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.
gas/ChangeLog
gas/testsuite/gas/sparc/leon.d [new file with mode: 0644]
gas/testsuite/gas/sparc/leon.s [new file with mode: 0644]
gas/testsuite/gas/sparc/sparc.exp
opcodes/ChangeLog
opcodes/sparc-opc.c
This page took 0.02504 seconds and 4 git commands to generate.