This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r227067 - in /branches/hsa/gcc: ChangeLog.hsa h...
- From: marxin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 21 Aug 2015 16:03:40 -0000
- Subject: r227067 - in /branches/hsa/gcc: ChangeLog.hsa h...
Author: marxin
Date: Fri Aug 21 16:03:40 2015
New Revision: 227067
URL: https://gcc.gnu.org/viewcvs?rev=227067&root=gcc&view=rev
Log:
HSA: add support from complex type.
* hsa-brig.c (emit_immediate_operand): Add emission for complex
constants.
(emit_basic_insn): Fix condition.
* hsa-gen.c (hsa_type_for_scalar_tree_type): Add handling of complex
constants.
(hsa_insn_mem::hsa_insn_mem): Likewise.
(gen_hsa_insns_for_load): Emit load isntructions for a complex constant.
(gen_hsa_insns_for_operation_assignment): Add support for COMPLEX_EXPR.
* hsa-regalloc.c (hsa_num_def_ops): Fix number of defined registers.
Modified:
branches/hsa/gcc/ChangeLog.hsa
branches/hsa/gcc/hsa-brig.c
branches/hsa/gcc/hsa-gen.c
branches/hsa/gcc/hsa-regalloc.c