gcc/ChangeLog: 2017-12-11 Carl Love <cel@us.ibm.com> * config/rs6000/altivec.h (vec_extract_fp32_from_shorth, vec_extract_fp32_from_shortl]): Add #defines. * config/rs6000/rs6000-builtin.def (VSLDOI_2DI): Add macro expansion. * config/rs6000/rs6000-c.c (ALTIVEC_BUILTIN_VEC_UNPACKH, ALTIVEC_BUILTIN_VEC_UNPACKL, ALTIVEC_BUILTIN_VEC_AND, ALTIVEC_BUILTIN_VEC_SLD, ALTIVEC_BUILTIN_VEC_SRL, ALTIVEC_BUILTIN_VEC_SRO, ALTIVEC_BUILTIN_VEC_SLD, ALTIVEC_BUILTIN_VEC_SLL): Add expansions. * doc/extend.texi: Add documentation for the added builtins. gcc/testsuite/ChangeLog: 2017-12-11 Carl Love <cel@us.ibm.com> * gcc.target/powerpc/altivec-7.c: Renamed altivec-7.h. * gcc.target/powerpc/altivec-7.h (main): Add testcases for vec_unpackl. Add dg-final tests for the instructions generated. * gcc.target/powerpc/altivec-7-be.c: New file to test on big endian. * gcc.target/powerpc/altivec-7-le.c: New file to test on little endian. * gcc.target/powerpc/altivec-13.c (foo): Add vec_sld, vec_srl, vec_sro testcases. Add dg-final tests for the instructions generated. * gcc.target/powerpc/builtins-3-p8.c (test_vsi_packs_vui, test_vsi_packs_vsi, test_vsi_packs_vssi, test_vsi_packs_vusi, test_vsi_packsu-vssi, test_vsi_packsu-vusi, test_vsi_packsu-vsll, test_vsi_packsu-vull, test_vsi_packsu-vsi, test_vsi_packsu-vui): Add testcases. Add dg-final tests for new instructions. * gcc.target/powerpc/p8vector-builtin-2.c (vbschar_eq, vbchar_eq, vuchar_eq, vbint_eq, vsint_eq, viint_eq, vuint_eq, vbool_eq, vbint_ne, vsint_ne, vuint_ne, vbool_ne, vsign_ne, vuns_ne, vbshort_ne): Add tests. Add dg-final instruction tests. * gcc.target/powerpc/vsx-vector-6.c: Renamed vsx-vector-6.h. * gcc.target/powerpc/vsx-vector-6.h (vec_andc,vec_nmsub, vec_nmadd, vec_or, vec_nor, vec_andc, vec_or, vec_andc, vec_msums): Add tests. Add dg-final tests for the generated instructions. * gcc.target/powerpc/builtins-3.c (test_sll_vsc_vsc_vsuc, test_sll_vuc_vuc, test_sll_vsi_vsi_vuc, test_sll_vui_vui_vuc, test_sll_vbll_vull, test_sll_vbll_vbll_vus, test_sll_vp_vp_vuc, test_sll_vssi_vssi_vuc, test_sll_vusi_vusi_vuc, test_slo_vsc_vsc_vsc, test_slo_vuc_vuc_vsc, test_slo_vsi_vsi_vsc, test_slo_vsi_vsi_vuc, test_slo_vui_vui_vsc, test_slo_vui_vui_vuc, test_slo_vsll_slo_vsll_vsc, test_slo_vsll_slo_vsll_vuc, test_slo_vull_slo_vull_vsc, test_slo_vull_slo_vull_vuc, test_slo_vp_vp_vsc, test_slo_vp_vp_vuc, test_slo_vssi_vssi_vsc, test_slo_vssi_vssi_vuc, test_slo_vusi_vusi_vsc, test_slo_vusi_vusi_vuc, test_slo_vusi_vusi_vuc, test_slo_vf_vf_vsc, test_slo_vf_vf_vuc, test_cmpb_float): Add tests. From-SVN: r255555
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| 40x.md | Loading commit data... | |
| 440.md | Loading commit data... | |
| 476.h | Loading commit data... | |
| 476.md | Loading commit data... | |
| 476.opt | Loading commit data... | |
| 601.md | Loading commit data... | |
| 603.md | Loading commit data... | |
| 6xx.md | Loading commit data... | |
| 7450.md | Loading commit data... | |
| 750cl.h | Loading commit data... | |
| 7xx.md | Loading commit data... | |
| 8540.md | Loading commit data... | |
| a2.md | Loading commit data... | |
| aix-stdint.h | Loading commit data... | |
| aix.h | Loading commit data... | |
| aix43.h | Loading commit data... | |
| aix51.h | Loading commit data... | |
| aix52.h | Loading commit data... | |
| aix53.h | Loading commit data... | |
| aix61.h | Loading commit data... | |
| aix64.opt | Loading commit data... | |
| aix71.h | Loading commit data... | |
| altivec.h | Loading commit data... | |
| altivec.md | Loading commit data... | |
| amo.h | Loading commit data... | |
| biarch64.h | Loading commit data... | |
| bmi2intrin.h | Loading commit data... | |
| bmiintrin.h | Loading commit data... | |
| cell.md | Loading commit data... | |
| constraints.md | Loading commit data... | |
| crypto.md | Loading commit data... | |
| darwin.h | Loading commit data... | |
| darwin.md | Loading commit data... | |
| darwin.opt | Loading commit data... | |
| darwin64.h | Loading commit data... | |
| darwin7.h | Loading commit data... | |
| darwin8.h | Loading commit data... | |
| default64.h | Loading commit data... | |
| dfp.md | Loading commit data... | |
| driver-rs6000.c | Loading commit data... | |
| e300c2c3.md | Loading commit data... | |
| e500mc.md | Loading commit data... | |
| e500mc64.md | Loading commit data... | |
| e5500.md | Loading commit data... | |
| e6500.md | Loading commit data... | |
| eabi.h | Loading commit data... | |
| eabialtivec.h | Loading commit data... | |
| eabisim.h | Loading commit data... | |
| emmintrin.h | Loading commit data... | |
| freebsd.h | Loading commit data... | |
| freebsd64.h | Loading commit data... | |
| genopt.sh | Loading commit data... | |
| host-darwin.c | Loading commit data... | |
| host-ppc64-darwin.c | Loading commit data... | |
| htm.md | Loading commit data... | |
| htmintrin.h | Loading commit data... | |
| htmxlintrin.h | Loading commit data... | |
| linux.h | Loading commit data... | |
| linux64.h | Loading commit data... | |
| linux64.opt | Loading commit data... | |
| linuxaltivec.h | Loading commit data... | |
| lynx.h | Loading commit data... | |
| milli.exp | Loading commit data... | |
| mm_malloc.h | Loading commit data... | |
| mmintrin.h | Loading commit data... | |
| mpc.md | Loading commit data... | |
| netbsd.h | Loading commit data... | |
| option-defaults.h | Loading commit data... | |
| paired.h | Loading commit data... | |
| paired.md | Loading commit data... | |
| power4.md | Loading commit data... | |
| power5.md | Loading commit data... | |
| power6.md | Loading commit data... | |
| power7.md | Loading commit data... | |
| power8.md | Loading commit data... | |
| power9.md | Loading commit data... | |
| ppc-asm.h | Loading commit data... | |
| ppc-auxv.h | Loading commit data... | |
| ppu_intrinsics.h | Loading commit data... | |
| predicates.md | Loading commit data... | |
| rs6000-builtin.def | Loading commit data... | |
| rs6000-c.c | Loading commit data... | |
| rs6000-cpus.def | Loading commit data... | |
| rs6000-linux.c | Loading commit data... | |
| rs6000-modes.def | Loading commit data... | |
| rs6000-opts.h | Loading commit data... | |
| rs6000-p8swap.c | Loading commit data... | |
| rs6000-passes.def | Loading commit data... | |
| rs6000-protos.h | Loading commit data... | |
| rs6000-string.c | Loading commit data... | |
| rs6000-tables.opt | Loading commit data... | |
| rs6000.c | Loading commit data... | |
| rs6000.h | Loading commit data... | |
| rs6000.md | Loading commit data... | |
| rs6000.opt | Loading commit data... | |
| rs64.md | Loading commit data... | |
| rtems.h | Loading commit data... | |
| secureplt.h | Loading commit data... | |
| si2vmx.h | Loading commit data... | |
| singlefp.h | Loading commit data... | |
| spu2vmx.h | Loading commit data... | |
| sync.md | Loading commit data... | |
| sysv4.h | Loading commit data... | |
| sysv4.opt | Loading commit data... | |
| sysv4le.h | Loading commit data... | |
| t-aix43 | Loading commit data... | |
| t-aix52 | Loading commit data... | |
| t-darwin64 | Loading commit data... | |
| t-darwin8 | Loading commit data... | |
| t-fprules | Loading commit data... | |
| t-freebsd64 | Loading commit data... | |
| t-linux | Loading commit data... | |
| t-linux64 | Loading commit data... | |
| t-linux64bele | Loading commit data... | |
| t-linux64le | Loading commit data... | |
| t-linux64lebe | Loading commit data... | |
| t-lynx | Loading commit data... | |
| t-netbsd | Loading commit data... | |
| t-ppccomm | Loading commit data... | |
| t-ppcendian | Loading commit data... | |
| t-ppcgas | Loading commit data... | |
| t-ppcos | Loading commit data... | |
| t-rs6000 | Loading commit data... | |
| t-rtems | Loading commit data... | |
| t-vxworks | Loading commit data... | |
| t-vxworksae | Loading commit data... | |
| t-vxworksmils | Loading commit data... | |
| t-xilinx | Loading commit data... | |
| titan.md | Loading commit data... | |
| vec_types.h | Loading commit data... | |
| vector.md | Loading commit data... | |
| vsx.md | Loading commit data... | |
| vxworks.h | Loading commit data... | |
| vxworksae.h | Loading commit data... | |
| vxworksmils.h | Loading commit data... | |
| x-aix | Loading commit data... | |
| x-darwin | Loading commit data... | |
| x-darwin64 | Loading commit data... | |
| x-linux-relax | Loading commit data... | |
| x-rs6000 | Loading commit data... | |
| x86intrin.h | Loading commit data... | |
| xcoff.h | Loading commit data... | |
| xfpu.h | Loading commit data... | |
| xfpu.md | Loading commit data... | |
| xilinx.h | Loading commit data... | |
| xilinx.opt | Loading commit data... | |
| xmmintrin.h | Loading commit data... |