[Patch] OpenACC – support "if" + "if_present" clauses with "host_data"

2019-12-24 Thread Tobias Burnus
On the front-end side, adding "if" and "if_present" to the  "acc host_data" directive is simple as other directives already support those clauses. The 'if_present' status has to be passed along the use_device_ptr flag; for this a new flag has been introduced, using the gap in the gomp_map_kin

[PATCH][AARCH64] Enable compare branch fusion

2019-12-24 Thread Wilco Dijkstra
Enable the most basic form of compare-branch fusion since various CPUs support it. This has no measurable effect on cores which don't support branch fusion, but increases fusion opportunities on cores which do. Bootstrapped on AArch64, OK for commit? ChangeLog: 2019-12-24 Wilco Dijkstra

[PATCH][AARCH64] Set jump-align=4 for neoversen1

2019-12-24 Thread Wilco Dijkstra
Testing shows the setting of 32:16 for jump alignment has a significant codesize cost, however it doesn't make a difference in performance. So set jump-align to 4 to get 1.6% codesize improvement. OK for commit? ChangeLog 2019-12-24 Wilco Dijkstra * config/aarch64/aarch64.c (neoverse

Re: [PATCH] V11 patch #5 of 15, Optimize vec_extract of a vector in memory with a PC-relative address

2019-12-24 Thread Segher Boessenkool
Hi! On Fri, Dec 20, 2019 at 06:55:53PM -0500, Michael Meissner wrote: > * config/rs6000/rs6000.c (rs6000_reg_to_addr_mask): New helper > function to identify the address mask of a hard register. Do this as a separate patch please. That refactoring is pre-approved. Please explain in t

Define HAVE_ for math long double functions declared in vxworks headers

2019-12-24 Thread Alexandre Oliva
When cross-building for vxworks, test for declarations of long double functions in math.h. We don't normally test for these functions when cross compiling, because link tests don't work, or ever really, but not defining them as available causes replacements to be defined in ways that may cause d