Minor BRIG/HSAIL frontend updates and bug fixes:
authorPekka Jääskeläinen <visit0r@gcc.gnu.org>
Thu, 4 May 2017 05:50:21 +0000 (05:50 +0000)
committerPekka Jääskeläinen <visit0r@gcc.gnu.org>
Thu, 4 May 2017 05:50:21 +0000 (05:50 +0000)
commitc6e334cdb1177c9722cef5e5f7153986edd5e5d3
treef572c282c5f13374d670fc370b9d69d10a340c7c
parent1738af6048162cadc20913d41320a38b40a50fc4
Minor BRIG/HSAIL frontend updates and bug fixes:

* brig-builtins.def: Added a builtin for class_f64.
* builtin-types.def: Added a builtin type needed by class_f64.
* brigfrontend/brig-code-entry-handler.cc
 (brig_code_entry_handler::build_address_operand): Fix a bug
 with reg+offset addressing on 32b segments. In large mode,
 the offset is treated as 32bits unless it's global, readonly or
 kernarg address space.
* rt/workitems.c: Removed a leftover comment.
* rt/arithmetic.c (__hsail_class_f32, __hsail_class_f64): Fix the
 check for signaling/non-signalling NaN. Add class_f64 default
 implementation.

From-SVN: r247576
gcc/ChangeLog
gcc/brig-builtins.def
gcc/brig/ChangeLog
gcc/brig/brigfrontend/brig-code-entry-handler.cc
gcc/builtin-types.def
libhsail-rt/ChangeLog
libhsail-rt/rt/arithmetic.c
libhsail-rt/rt/workitems.c