a680de9a98
include/opcode/ * ppc.h (PPC_OPCODE_POWER9): New define. (PPC_OPCODE_VSX3): Likewise. opcodes/ * ppc-dis.c (ppc_opts): Add "power9" and "pwr9" entries. Add PPC_OPCODE_VSX3 to the vsx entry. (powerpc_init_dialect): Set default dialect to power9. * ppc-opc.c (insert_dcmxs, extract_dcmxs, insert_dxd, extract_dxd, insert_dxdn, extract_dxdn, insert_l0, extract_l0, insert_l1, extract_l1 insert_xtq6, extract_xtq6): New static functions. (insert_esync): Test for illegal L operand value. (DCMX, DCMXS, DXD, NDXD, L0, L1, RC, FC, UIM6, X_R, RIC, PRS, XSQ6, XTQ6, LRAND, IMM8, DQX, DQX_MASK, DX, DX_MASK, VXVAPS_MASK, VXVA,XVA, XX2VA, XVARC, XBF_MASK, XX2UIM4_MASK, XX2BFD_MASK, XX2DCMXS_MASK, XVA_MASK, XRLA_MASK, XBFRARB_MASK, XLRAND_MASK, POWER9, PPCVEC3, PPCVSX3): New defines. (powerpc_opcodes) <ps_cmpu0, ps_cmpo0, ps_cmpu1, ps_cmpo1, fcmpu, fcmpo, ftdiv, ftsqrt>: Use XBF_MASK. <mcrxr>: Use XBFRARB_MASK. <addpcis, bcdcfn., bcdcfsq., bcdcfz., bcdcpsgn., bcdctn., bcdctsq., bcdctz., bcds., bcdsetsgn., bcdsr., bcdtrunc., bcdus., bcdutrunc., cmpeqb, cmprb, cnttzd, cnttzd., cnttzw, cnttzw., copy, copy_first, cp_abort, darn, dtstsfi, dtstsfiq, extswsli, extswsli., ldat, ldmx, lwat, lxsd, lxsibzx, lxsihzx, lxssp, lxv, lxvb16x, lxvh8x, lxvl, lxvll, lxvwsx, lxvx, maddhd, maddhdu, maddld, mcrxrx, mfvsrld, modsd, modsw, modud, moduw, msgsync, mtvsrdd, mtvsrws, paste, paste., paste_last, rmieg, setb, slbieg, slbsync, stdat, stop, stwat, stxsd, stxsibx, stxsihx, stxssp, stxv, stxvb16x, stxvh8x, stxvl, stxvll, stxvx, subpcis, urfid, vbpermd, vclzlsbb, vcmpneb, vcmpneb., vcmpneh, vcmpneh., vcmpnew, vcmpnew., vcmpnezb, vcmpnezb., vcmpnezh, vcmpnezh., vcmpnezw, vcmpnezw., vctzb, vctzd, vctzh, vctzlsbb, vctzw, vextractd, vextractub, vextractuh, vextractuw, vextsb2d, vextsb2w, vextsh2d, vextsh2w, vextsw2d, vextublx, vextubrx, vextuhlx, vextuhrx, vextuwlx, vextuwrx, vinsertb, vinsertd, vinserth, vinsertw, vmul10cuq, vmul10ecuq, vmul10euq, vmul10uq, vnegd, vnegw, vpermr, vprtybd, vprtybq, vprtybw, vrldmi, vrldnm, vrlwmi, vrlwnm, vslv, vsrv, wait, xsabsqp, xsaddqp, xsaddqpo, xscmpeqdp, xscmpexpdp, xscmpexpqp, xscmpgedp, xscmpgtdp, xscmpnedp, xscmpoqp, xscmpuqp, xscpsgnqp, xscvdphp, xscvdpqp, xscvhpdp, xscvqpdp, xscvqpdpo, xscvqpsdz, xscvqpswz, xscvqpudz, xscvqpuwz, xscvsdqp, xscvudqp, xsdivqp, xsdivqpo, xsiexpdp, xsiexpqp, xsmaddqp, xsmaddqpo, xsmaxcdp, xsmaxjdp, xsmincdp, xsminjdp, xsmsubqp, xsmsubqpo, xsmulqp, xsmulqpo, xsnabsqp, xsnegqp, xsnmaddqp, xsnmaddqpo, xsnmsubqp, xsnmsubqpo, xsrqpi, xsrqpix, xsrqpxp, xssqrtqp, xssqrtqpo, xssubqp, xssubqpo, xststdcdp, xststdcqp, xststdcsp, xsxexpdp, xsxexpqp, xsxsigdp, xsxsigqp, xvcmpnedp, xvcmpnedp., xvcmpnesp, xvcmpnesp., xvcvhpsp, xvcvsphp, xviexpdp, xviexpsp, xvtstdcdp, xvtstdcsp, xvxexpdp, xvxexpsp, xvxsigdp, xvxsigsp, xxbrd, xxbrh, xxbrq, xxbrw, xxextractuw, xxinsertw, xxperm, xxpermr, xxspltib>: New instructions. <doze, nap, sleep, rvwinkle, waitasec, lxvx, stxvx>: Disable on POWER9. <tlbiel, tlbie, sync, slbmfev, slbmfee>: Add additional operands. include/elf/ * ppc.h (R_PPC_REL16DX_HA): New reloction. * ppc64.h (R_PPC64_REL16DX_HA): Likewise. bfd/ * elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_REL16DX_HA. (ppc_elf_reloc_type_lookup): Handle R_PPC_REL16DX_HA. (ppc_elf_addr16_ha_reloc): Likewise. (ppc_elf_check_relocs): Likewise. (ppc_elf_relocate_section): Likewise. (is_insn_dq_form): Handle lxv and stxv instructions. * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_REL16DX_HA. (ppc64_elf_reloc_type_lookup): Handle R_PPC64_REL16DX_HA. (ppc64_elf_ha_reloc): Likewise. (ppc64_elf_check_relocs): Likewise. (ppc64_elf_relocate_section): Likewise. * bfd-in2.h: Regenerate. * libbfd.h: Likewise. * reloc.c (BFD_RELOC_PPC_REL16DX_HA): New. elfcpp/ * powerpc.h (R_POWERPC_REL16DX_HA): Define. gas/ * doc/as.texinfo (Target PowerPC): Document -mpower9 and -mpwr9. * doc/c-ppc.texi (PowerPC-Opts): Likewise. * config/tc-ppc.c (md_show_usage): Likewise. (md_assemble): Handle BFD_RELOC_PPC_REL16DX_HA. (md_apply_fix): Likewise. (ppc_handle_align): Handle power9's group ending nop. gas/testsuite/ * gas/ppc/altivec3.s: New test. * gas/ppc/altivec3.d: Likewise. * gas/ppc/vsx3.s: Likewise. * gas/ppc/vsx3.d: Likewise. * gas/ppc/power9.s: Likewise. * gas/ppc/power9.d: Likewise. * gas/ppc/ppc.exp: Run them. * gas/ppc/power8.s <lxvx, lxvd2x, stxvx, stxvd2x>: Add new tests. * gas/ppc/power8.d: Likewise. * gas/ppc/vsx.s: <lxvx, stxvx>: Rename invalid mnemonics ... <lxvd2x, stxvd2x>: ...to this. * gas/ppc/vsx.d: Likewise. gold/ * gold/powerpc.cc (Powerpc_relocate_functions::addr16_dq): New function. (Powerpc_relocate_functions::addr16dx_ha): Likewise. (Target_powerpc::Scan::local): Handle R_POWERPC_REL16DX_HA. (Target_powerpc::Scan::global): Likewise. (Target_powerpc::Relocate::relocate): Likewise. ld/testsuite/ * ld-powerpc/addpcis.d: New test. * ld-powerpc/addpcis.s: New test. * ld-powerpc/powerpc.exp: Run it. |
||
---|---|---|
.. | ||
aout_gnu.h | ||
atof-ieee.c | ||
atof-vax.c | ||
bfin-aux.h | ||
bfin-defs.h | ||
bfin-lex-wrapper.c | ||
bfin-lex.l | ||
bfin-parse.y | ||
e-crisaout.c | ||
e-criself.c | ||
e-i386aout.c | ||
e-i386coff.c | ||
e-i386elf.c | ||
e-mipself.c | ||
itbl-mips.h | ||
m68k-parse.h | ||
m68k-parse.y | ||
obj-aout.c | ||
obj-aout.h | ||
obj-coff-seh.c | ||
obj-coff-seh.h | ||
obj-coff.c | ||
obj-coff.h | ||
obj-ecoff.c | ||
obj-ecoff.h | ||
obj-elf.c | ||
obj-elf.h | ||
obj-evax.c | ||
obj-evax.h | ||
obj-fdpicelf.c | ||
obj-fdpicelf.h | ||
obj-macho.c | ||
obj-macho.h | ||
obj-multi.c | ||
obj-multi.h | ||
obj-som.c | ||
obj-som.h | ||
rl78-defs.h | ||
rl78-parse.y | ||
rx-defs.h | ||
rx-parse.y | ||
tc-aarch64.c | ||
tc-aarch64.h | ||
tc-alpha.c | ||
tc-alpha.h | ||
tc-arc.c | ||
tc-arc.h | ||
tc-arm.c | ||
tc-arm.h | ||
tc-avr.c | ||
tc-avr.h | ||
tc-bfin.c | ||
tc-bfin.h | ||
tc-cr16.c | ||
tc-cr16.h | ||
tc-cris.c | ||
tc-cris.h | ||
tc-crx.c | ||
tc-crx.h | ||
tc-d10v.c | ||
tc-d10v.h | ||
tc-d30v.c | ||
tc-d30v.h | ||
tc-dlx.c | ||
tc-dlx.h | ||
tc-epiphany.c | ||
tc-epiphany.h | ||
tc-fr30.c | ||
tc-fr30.h | ||
tc-frv.c | ||
tc-frv.h | ||
tc-ft32.c | ||
tc-ft32.h | ||
tc-generic.c | ||
tc-generic.h | ||
tc-h8300.c | ||
tc-h8300.h | ||
tc-hppa.c | ||
tc-hppa.h | ||
tc-i370.c | ||
tc-i370.h | ||
tc-i386-intel.c | ||
tc-i386.c | ||
tc-i386.h | ||
tc-i860.c | ||
tc-i860.h | ||
tc-i960.c | ||
tc-i960.h | ||
tc-ia64.c | ||
tc-ia64.h | ||
tc-ip2k.c | ||
tc-ip2k.h | ||
tc-iq2000.c | ||
tc-iq2000.h | ||
tc-lm32.c | ||
tc-lm32.h | ||
tc-m32c.c | ||
tc-m32c.h | ||
tc-m32r.c | ||
tc-m32r.h | ||
tc-m68hc11.c | ||
tc-m68hc11.h | ||
tc-m68k.c | ||
tc-m68k.h | ||
tc-m68851.h | ||
tc-mcore.c | ||
tc-mcore.h | ||
tc-mep.c | ||
tc-mep.h | ||
tc-metag.c | ||
tc-metag.h | ||
tc-microblaze.c | ||
tc-microblaze.h | ||
tc-mips.c | ||
tc-mips.h | ||
tc-mmix.c | ||
tc-mmix.h | ||
tc-mn10200.c | ||
tc-mn10200.h | ||
tc-mn10300.c | ||
tc-mn10300.h | ||
tc-moxie.c | ||
tc-moxie.h | ||
tc-msp430.c | ||
tc-msp430.h | ||
tc-mt.c | ||
tc-mt.h | ||
tc-nds32.c | ||
tc-nds32.h | ||
tc-nios2.c | ||
tc-nios2.h | ||
tc-ns32k.c | ||
tc-ns32k.h | ||
tc-or1k.c | ||
tc-or1k.h | ||
tc-pdp11.c | ||
tc-pdp11.h | ||
tc-pj.c | ||
tc-pj.h | ||
tc-ppc.c | ||
tc-ppc.h | ||
tc-rl78.c | ||
tc-rl78.h | ||
tc-rx.c | ||
tc-rx.h | ||
tc-s390.c | ||
tc-s390.h | ||
tc-score.c | ||
tc-score.h | ||
tc-score7.c | ||
tc-sh.c | ||
tc-sh.h | ||
tc-sh64.c | ||
tc-sh64.h | ||
tc-sparc.c | ||
tc-sparc.h | ||
tc-spu.c | ||
tc-spu.h | ||
tc-tic4x.c | ||
tc-tic4x.h | ||
tc-tic6x.c | ||
tc-tic6x.h | ||
tc-tic30.c | ||
tc-tic30.h | ||
tc-tic54x.c | ||
tc-tic54x.h | ||
tc-tilegx.c | ||
tc-tilegx.h | ||
tc-tilepro.c | ||
tc-tilepro.h | ||
tc-v850.c | ||
tc-v850.h | ||
tc-vax.c | ||
tc-vax.h | ||
tc-visium.c | ||
tc-visium.h | ||
tc-xc16x.c | ||
tc-xc16x.h | ||
tc-xgate.c | ||
tc-xgate.h | ||
tc-xstormy16.c | ||
tc-xstormy16.h | ||
tc-xtensa.c | ||
tc-xtensa.h | ||
tc-z8k.c | ||
tc-z8k.h | ||
tc-z80.c | ||
tc-z80.h | ||
te-386bsd.h | ||
te-aix.h | ||
te-aix5.h | ||
te-armeabi.h | ||
te-armfbsdeabi.h | ||
te-armfbsdvfp.h | ||
te-armlinuxeabi.h | ||
te-dragonfly.h | ||
te-dynix.h | ||
te-epoc-pe.h | ||
te-freebsd.h | ||
te-generic.h | ||
te-gnu.h | ||
te-go32.h | ||
te-hppa.h | ||
te-hppa64.h | ||
te-hppalinux64.h | ||
te-hpux.h | ||
te-i386aix.h | ||
te-ia64aix.h | ||
te-interix.h | ||
te-irix.h | ||
te-linux.h | ||
te-lynx.h | ||
te-mach.h | ||
te-macos.h | ||
te-nacl.h | ||
te-nbsd.h | ||
te-nbsd532.h | ||
te-netware.h | ||
te-pc532mach.h | ||
te-pe.h | ||
te-pep.h | ||
te-psos.h | ||
te-riscix.h | ||
te-solaris.h | ||
te-sparcaout.h | ||
te-sun3.h | ||
te-svr4.h | ||
te-symbian.h | ||
te-tmips.h | ||
te-uclinux.h | ||
te-vms.c | ||
te-vms.h | ||
te-vxworks.h | ||
te-wince-pe.h | ||
vax-inst.h | ||
xtensa-istack.h | ||
xtensa-relax.c | ||
xtensa-relax.h |