This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r227070 - in /branches/hsa/gcc: ChangeLog.hsa h...


Author: marxin
Date: Fri Aug 21 16:05:34 2015
New Revision: 227070

URL: https://gcc.gnu.org/viewcvs?rev=227070&root=gcc&view=rev
Log:
HSA: add support for ROTATE expressions and bit fields.

	* hsa-gen.c (gen_hsa_addr): Add support for bit fields.
	(gen_hsa_insns_for_bitfield_load): New function.
	(gen_hsa_insns_for_load): Handle cases where we load a bit field
	address.
	(get_bitfield_size): New function.
	(get_unsigned_type_by_bytes): Removed.
	(get_integer_type_by_bytes): New function.
	(get_integer_tree_type_by_bytes): Likewise.
	(gen_hsa_memory_copy): Use the new function.
	(gen_hsa_insns_for_store): Handle bit fields.
	(gen_hsa_unary_operation): New function.
	(gen_hsa_binary_operation): Likewise.
	(gen_hsa_insns_for_operation_assignment): Add support for new
	operations.

Modified:
    branches/hsa/gcc/ChangeLog.hsa
    branches/hsa/gcc/hsa-gen.c
    branches/hsa/gcc/hsa.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]