OSDN Git Service

opcodes/
authorAlan Modra <amodra@bigpond.net.au>
Thu, 10 Mar 2005 12:52:30 +0000 (12:52 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 10 Mar 2005 12:52:30 +0000 (12:52 +0000)
commitf9029daa72e5fb45ed7b9b6778b348e42f70d771
tree10d9eb56593f4b2e504ab494532317387e369134
parentb4c979b54a485f74c162f3b98953cce745e933f7
opcodes/
* ppc-opc.c (insert_sprg, extract_sprg): New Functions.
(powerpc_operands <SPRG>): Call the above.  Bit field is 5 bits.
(SPRG_MASK): Delete.
(XSPRG_MASK): Mask off extra bits now part of sprg field.
        (powerpc_opcodes): Asjust mfsprg and mtsprg to suit new mask.  Move
mfsprg4..7 after msprg and consolidate.

gas/testsuite
* gas/ppc/booke.s: Add new m[t,f]sprg testcases.
* gas/ppc/booke.d: Likewise.
gas/testsuite/ChangeLog
gas/testsuite/gas/ppc/booke.d
gas/testsuite/gas/ppc/booke.s
opcodes/ChangeLog
opcodes/ppc-opc.c