From: Peter Bergner Date: Thu, 19 Feb 2009 21:18:46 +0000 (+0000) Subject: gas/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e55be1624c24e2361c3ea06ea73ca4e67e030e0;p=binutils-gdb.git gas/testsuite/ * gas/ppc/e500mc.d ("lfdepx", "stfdepx"): Fix tests to expect a floating point register. opcodes/ * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first operand to be a float point register (FRT/FRS). --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 18305c6ccf9..99ea036ae28 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-02-19 Peter Bergner + + * gas/ppc/e500mc.d ("lfdepx", "stfdepx"): Fix tests to expect a + floating point register. + 2009-02-18 Adam Nemet * gas/mips/octeon.s: Add more tests for dmfc2 and dmtc2. diff --git a/gas/testsuite/gas/ppc/e500mc.d b/gas/testsuite/gas/ppc/e500mc.d index 4ffaba8ffff..aeee31dc44b 100644 --- a/gas/testsuite/gas/ppc/e500mc.d +++ b/gas/testsuite/gas/ppc/e500mc.d @@ -22,12 +22,12 @@ Disassembly of section \.text: 30: 7c 85 32 3e lhepx r4,r5,r6 34: 7c e8 48 3e lwepx r7,r8,r9 38: 7d 4b 60 3a ldepx r10,r11,r12 - 3c: 7d ae 7c be lfdepx r13,r14,r15 + 3c: 7d ae 7c be lfdepx f13,r14,r15 40: 7e 11 91 be stbepx r16,r17,r18 44: 7e 74 ab 3e sthepx r19,r20,r21 48: 7e d7 c1 3e stwepx r22,r23,r24 4c: 7f 3a d9 3a stdepx r25,r26,r27 - 50: 7f 9d f5 be stfdepx r28,r29,r30 + 50: 7f 9d f5 be stfdepx f28,r29,r30 54: 7c 01 14 06 lbdx r0,r1,r2 58: 7d 8d 74 46 lhdx r12,r13,r14 5c: 7c 64 2c 86 lwdx r3,r4,r5 diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index db66f45e604..d1a0adabbe9 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2009-02-19 Peter Bergner + + * ppc-opc.c (powerpc_opcodes) <"lfdepx", "stfdepx">: Fix the first + operand to be a float point register (FRT/FRS). + 2009-02-18 Adam Nemet * mips-opc.c (mips_builtin_opcodes): Move the Octeon-specific diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 5ce87b71650..294af73da23 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -4286,7 +4286,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"lfdx", X(31,599), X_MASK, COM, PPCNONE, {FRT, RA0, RB}}, -{"lfdepx", X(31,607), X_MASK, E500MC, PPCNONE, {RT, RA, RB}}, +{"lfdepx", X(31,607), X_MASK, E500MC, PPCNONE, {FRT, RA, RB}}, {"mffgpr", XRC(31,607,0), XRA_MASK, POWER6, PPCNONE, {FRT, RB}}, {"lddx", X(31,611), X_MASK, E500MC, PPCNONE, {RT, RA, RB}}, @@ -4373,7 +4373,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { {"sreq", XRC(31,729,0), X_MASK, M601, PPCNONE, {RA, RS, RB}}, {"sreq.", XRC(31,729,1), X_MASK, M601, PPCNONE, {RA, RS, RB}}, -{"stfdepx", X(31,735), X_MASK, E500MC, PPCNONE, {RS, RA, RB}}, +{"stfdepx", X(31,735), X_MASK, E500MC, PPCNONE, {FRS, RA, RB}}, {"mftgpr", XRC(31,735,0), XRA_MASK, POWER6, PPCNONE, {RT, FRB}}, {"stddx", X(31,739), X_MASK, E500MC, PPCNONE, {RS, RA, RB}},