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. |
||
---|---|---|
.. | ||
addpcis.d | ||
addpcis.s | ||
aix-abs-branch-1.dd | ||
aix-abs-branch-1.ex | ||
aix-abs-branch-1.im | ||
aix-abs-branch-1.nd | ||
aix-abs-branch-1.s | ||
aix-abs-reloc-1.ex | ||
aix-abs-reloc-1.im | ||
aix-abs-reloc-1.nd | ||
aix-abs-reloc-1.od | ||
aix-abs-reloc-1.s | ||
aix-core-sec-1.ex | ||
aix-core-sec-1.hd | ||
aix-core-sec-1.s | ||
aix-core-sec-2.ex | ||
aix-core-sec-2.hd | ||
aix-core-sec-2.s | ||
aix-core-sec-3.ex | ||
aix-core-sec-3.hd | ||
aix-core-sec-3.s | ||
aix-export-1-all.dd | ||
aix-export-1-full.dd | ||
aix-export-1a.s | ||
aix-export-1b.s | ||
aix-export-2.nd | ||
aix-export-2.s | ||
aix-gc-1-32.dd | ||
aix-gc-1-64.dd | ||
aix-gc-1.ex | ||
aix-gc-1.nd | ||
aix-gc-1.s | ||
aix-glink-1-32.d | ||
aix-glink-1-32.dd | ||
aix-glink-1-64.d | ||
aix-glink-1-64.dd | ||
aix-glink-1.ex | ||
aix-glink-1.s | ||
aix-glink-2-32.dd | ||
aix-glink-2-64.dd | ||
aix-glink-2a.ex | ||
aix-glink-2a.s | ||
aix-glink-2b.s | ||
aix-glink-2c.ex | ||
aix-glink-2c.s | ||
aix-glink-2d.s | ||
aix-glink-3-32.d | ||
aix-glink-3-64.d | ||
aix-glink-3.dd | ||
aix-glink-3.s | ||
aix-glink-3a.s | ||
aix-glink-3b.s | ||
aix-lineno-1.s | ||
aix-lineno-1.txt | ||
aix-lineno-1a.dd | ||
aix-lineno-1a.nd | ||
aix-lineno-1b.dd | ||
aix-lineno-1b.nd | ||
aix-no-dup-syms-1-dso.dnd | ||
aix-no-dup-syms-1-dso.drd | ||
aix-no-dup-syms-1-dso.nd | ||
aix-no-dup-syms-1-dso.rd | ||
aix-no-dup-syms-1-rel.nd | ||
aix-no-dup-syms-1-rel.rd | ||
aix-no-dup-syms-1.ex | ||
aix-no-dup-syms-1.im | ||
aix-no-dup-syms-1a.s | ||
aix-no-dup-syms-1b.s | ||
aix-ref-1-32.od | ||
aix-ref-1-64.od | ||
aix-ref-1.s | ||
aix-rel-1.od | ||
aix-rel-1.s | ||
aix-toc-1-32.dd | ||
aix-toc-1-64.dd | ||
aix-toc-1.ex | ||
aix-toc-1a.s | ||
aix-toc-1b.s | ||
aix-weak-1-dso.dnd | ||
aix-weak-1-dso.hd | ||
aix-weak-1-dso.nd | ||
aix-weak-1-gcdso.dnd | ||
aix-weak-1-gcdso.hd | ||
aix-weak-1-gcdso.nd | ||
aix-weak-1-rel.hd | ||
aix-weak-1-rel.nd | ||
aix-weak-1.ex | ||
aix-weak-1a.s | ||
aix-weak-1b.s | ||
aix-weak-2a.ex | ||
aix-weak-2a.nd | ||
aix-weak-2a.s | ||
aix-weak-2b.nd | ||
aix-weak-2b.s | ||
aix-weak-2c.ex | ||
aix-weak-2c.nd | ||
aix-weak-2c.od | ||
aix-weak-2c.s | ||
aix-weak-3-32.d | ||
aix-weak-3-32.dd | ||
aix-weak-3-64.d | ||
aix-weak-3-64.dd | ||
aix-weak-3a.ex | ||
aix-weak-3a.s | ||
aix-weak-3b.ex | ||
aix-weak-3b.s | ||
aix52.exp | ||
ambiguousv1.d | ||
ambiguousv1b.d | ||
ambiguousv2.d | ||
ambiguousv2b.d | ||
apuinfo-nul.rd | ||
apuinfo-nul.s | ||
apuinfo-nul1.s | ||
apuinfo-vle.rd | ||
apuinfo-vle.s | ||
apuinfo.rd | ||
apuinfo1.s | ||
apuinfo2.s | ||
attr-gnu-4-00.d | ||
attr-gnu-4-0.s | ||
attr-gnu-4-01.d | ||
attr-gnu-4-1.s | ||
attr-gnu-4-02.d | ||
attr-gnu-4-2.s | ||
attr-gnu-4-03.d | ||
attr-gnu-4-3.s | ||
attr-gnu-4-4.s | ||
attr-gnu-4-10.d | ||
attr-gnu-4-11.d | ||
attr-gnu-4-12.d | ||
attr-gnu-4-13.d | ||
attr-gnu-4-14.d | ||
attr-gnu-4-20.d | ||
attr-gnu-4-21.d | ||
attr-gnu-4-22.d | ||
attr-gnu-4-23.d | ||
attr-gnu-4-24.d | ||
attr-gnu-4-31.d | ||
attr-gnu-4-32.d | ||
attr-gnu-4-33.d | ||
attr-gnu-4-34.d | ||
attr-gnu-4-41.d | ||
attr-gnu-8-1.s | ||
attr-gnu-8-2.s | ||
attr-gnu-8-3.s | ||
attr-gnu-8-11.d | ||
attr-gnu-8-23.d | ||
attr-gnu-8-31.d | ||
attr-gnu-12-1.s | ||
attr-gnu-12-2.s | ||
attr-gnu-12-11.d | ||
attr-gnu-12-21.d | ||
defsym.d | ||
defsym.s | ||
elfv2-2a.s | ||
elfv2-2b.s | ||
elfv2-2exe.d | ||
elfv2-2so.d | ||
elfv2.s | ||
elfv2exe.d | ||
elfv2so.d | ||
export-class.exp | ||
funref.s | ||
funref2.s | ||
funv1.s | ||
funv2.s | ||
oldtlslib.s | ||
plt1.d | ||
plt1.s | ||
powerpc-32-export-class.rd | ||
powerpc-32-export-class.xd | ||
powerpc-64-export-class.rd | ||
powerpc-64-export-class.xd | ||
powerpc.exp | ||
ppc476-shared.d | ||
ppc476-shared.lnk | ||
ppc476-shared.s | ||
ppc476-shared2.d | ||
relax.d | ||
relax.s | ||
relaxr.d | ||
relbrlt.d | ||
relbrlt.s | ||
reloc.d | ||
reloc.s | ||
relocsort.d | ||
relocsort.s | ||
sdabase.d | ||
sdabase.s | ||
sdabase.t | ||
sdabase2.d | ||
sdabase2.t | ||
sdadyn.d | ||
sdadyn.s | ||
sdalib.s | ||
startv1.s | ||
startv2.s | ||
symtocbase-1.s | ||
symtocbase-2.s | ||
symtocbase.d | ||
tls.d | ||
tls.g | ||
tls.s | ||
tls.t | ||
tls32.d | ||
tls32.g | ||
tls32.s | ||
tls32.t | ||
tlsexe.d | ||
tlsexe.g | ||
tlsexe.r | ||
tlsexe.t | ||
tlsexe32.d | ||
tlsexe32.g | ||
tlsexe32.r | ||
tlsexe32.t | ||
tlsexetoc.d | ||
tlsexetoc.g | ||
tlsexetoc.r | ||
tlsexetoc.t | ||
tlsld.d | ||
tlsld.s | ||
tlsld32.d | ||
tlsld32.s | ||
tlslib.s | ||
tlslib32.s | ||
tlsmark.d | ||
tlsmark.s | ||
tlsmark32.d | ||
tlsmark32.s | ||
tlsopt1.d | ||
tlsopt1.s | ||
tlsopt1_32.d | ||
tlsopt1_32.s | ||
tlsopt2.d | ||
tlsopt2.s | ||
tlsopt2_32.d | ||
tlsopt2_32.s | ||
tlsopt3.d | ||
tlsopt3.s | ||
tlsopt3_32.d | ||
tlsopt3_32.s | ||
tlsopt4.d | ||
tlsopt4.s | ||
tlsopt4_32.d | ||
tlsopt4_32.s | ||
tlsso.d | ||
tlsso.g | ||
tlsso.r | ||
tlsso.t | ||
tlsso32.d | ||
tlsso32.g | ||
tlsso32.r | ||
tlsso32.t | ||
tlstoc.d | ||
tlstoc.g | ||
tlstoc.s | ||
tlstoc.t | ||
tlstocso.d | ||
tlstocso.g | ||
tlstocso.r | ||
tlstocso.t | ||
tocnovar.d | ||
tocnovar.s | ||
tocopt.d | ||
tocopt.out | ||
tocopt.s | ||
tocopt2.d | ||
tocopt2.out | ||
tocopt2.s | ||
tocopt3.d | ||
tocopt3.s | ||
tocopt4.d | ||
tocopt4a.s | ||
tocopt4b.s | ||
tocopt5.d | ||
tocopt5.s | ||
tocopt6-inc.s | ||
tocopt6.d | ||
tocopt6a.s | ||
tocopt6b.s | ||
tocopt6c.s | ||
tocvar.d | ||
tocvar.s | ||
vle-multiseg-1.d | ||
vle-multiseg-1.ld | ||
vle-multiseg-2.d | ||
vle-multiseg-2.ld | ||
vle-multiseg-3.d | ||
vle-multiseg-3.ld | ||
vle-multiseg-4.d | ||
vle-multiseg-4.ld | ||
vle-multiseg-5.d | ||
vle-multiseg-5.ld | ||
vle-multiseg-6.d | ||
vle-multiseg-6.ld | ||
vle-multiseg-6a.s | ||
vle-multiseg-6b.s | ||
vle-multiseg-6c.s | ||
vle-multiseg-6d.s | ||
vle-multiseg.s | ||
vle-reloc-1.d | ||
vle-reloc-1.s | ||
vle-reloc-2.d | ||
vle-reloc-2.s | ||
vle-reloc-3.d | ||
vle-reloc-3.s | ||
vle-reloc-def-1.s | ||
vle-reloc-def-2.s | ||
vle-reloc-def-3.s | ||
vle.ld | ||
vxworks-relax-2.rd | ||
vxworks-relax-2.s | ||
vxworks-relax.rd | ||
vxworks-relax.s | ||
vxworks1-lib.dd | ||
vxworks1-lib.nd | ||
vxworks1-lib.rd | ||
vxworks1-lib.s | ||
vxworks1-lib.sd | ||
vxworks1-lib.td | ||
vxworks1-static.d | ||
vxworks1.dd | ||
vxworks1.ld | ||
vxworks1.rd | ||
vxworks1.s | ||
vxworks2-static.sd | ||
vxworks2.s | ||
vxworks2.sd |