From c0637f3af6866ed35039406e564a6743f373cd67 Mon Sep 17 00:00:00 2001 From: Peter Bergner Date: Tue, 21 May 2013 01:36:46 +0000 Subject: opcodes/ * ppc-dis.c (powerpc_init_dialect): Set default dialect to power8. * ppc-opc.c (BHRBE, ST, SIX, PS, SXL, VXPS_MASK, XX1RB_MASK, XLS_MASK, PPCVSX2): New defines. (powerpc_opcodes) : New instructions. : New extended mnemonics. gas/ * config/tc-ppc.c (ppc_setup_opcodes): Use new_seg to fix error and clean up warning when using PRINT_OPCODE_TABLE. gas/testsuite/ * gas/ppc/altivec2.d : Add new tests. * gas/ppc/altivec2.s: Likewise. * gas/ppc/power8.d : Add new tests. * gas/ppc/power8.s Likewise. * gas/ppc/vsx.d : Add new tests. * gas/ppc/vsx.s Likewise. * gas/ppc/vsx2.d: New test file. * gas/ppc/vsx2.s: Likewise. * gas/ppc/ppc.exp: Run it. --- opcodes/ppc-dis.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'opcodes/ppc-dis.c') diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c index 2c6869e..4e2bcd7 100644 --- a/opcodes/ppc-dis.c +++ b/opcodes/ppc-dis.c @@ -315,10 +315,7 @@ powerpc_init_dialect (struct disassemble_info *info) dialect = (PPC_OPCODE_PPC | PPC_OPCODE_ISEL | PPC_OPCODE_VLE); break; default: - dialect = (PPC_OPCODE_PPC | PPC_OPCODE_ISEL | PPC_OPCODE_64 - | PPC_OPCODE_POWER4 | PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 - | PPC_OPCODE_POWER7 | PPC_OPCODE_ALTIVEC | PPC_OPCODE_VSX - | PPC_OPCODE_ANY); + dialect = ppc_parse_cpu (dialect, &sticky, "power8") | PPC_OPCODE_ANY; } arg = info->disassembler_options; -- cgit v1.1