+2017-03-31 Pat Haugen <pthaugen@us.ibm.com>
+
+ PR target/80107
+ * config/rs6000/rs6000.md (extendhi<mode>2): Add test for
+ TARGET_VSX_SMALL_INTEGER.
+
2017-03-31 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* doc/extend.texi (PowerPC AltiVec Built-in Functions): Add
(define_insn "*extendhi<mode>2"
[(set (match_operand:EXTHI 0 "gpc_reg_operand" "=r,r,?*wK,?*wK")
(sign_extend:EXTHI (match_operand:HI 1 "reg_or_mem_operand" "m,r,Z,wK")))]
- "rs6000_gen_cell_microcode"
+ "rs6000_gen_cell_microcode || TARGET_VSX_SMALL_INTEGER"
"@
lha%U1%X1 %0,%1
extsh %0,%1
+2017-03-31 Pat Haugen <pthaugen@us.ibm.com>
+
+ PR target/80107
+ * gfortran.dg/pr80107.f: New.
+
2017-03-31 Jeff Law <law@redhat.com>
PR tree-optimization/49498
--- /dev/null
+! { dg-do compile { target { powerpc*-*-* } } }
+! { dg-options "-O0 -mpower9-dform-vector -mno-gen-cell-microcode" }
+
+ integer(kind=2) j, j2, ja
+ call c_c(CMPLX(j),(1.,0.),'CMPLX(integer(2))')
+ end