On 06/22/15 13:04, Marek Polacek wrote:
On Mon, Jun 22, 2015 at 01:00:51PM -0400, Nathan Sidwell wrote:
+ if (GET_CODE (arg) != CONST_INT
+ || (unsigned HOST_WIDE_INT)INTVAL (arg) >= OACC_HWM)
Don't we have UINTVAL for this? So UINTVAL (arg).
Applied the attached, after testing. Also
On 06/22/15 13:04, Marek Polacek wrote:
On Mon, Jun 22, 2015 at 01:00:51PM -0400, Nathan Sidwell wrote:
+ if (GET_CODE (arg) != CONST_INT
+ || (unsigned HOST_WIDE_INT)INTVAL (arg) >= OACC_HWM)
Don't we have UINTVAL for this? So UINTVAL (arg).
Oh, thanks! will fix
nathan
--
Nathan Si
On Mon, Jun 22, 2015 at 01:00:51PM -0400, Nathan Sidwell wrote:
> + if (GET_CODE (arg) != CONST_INT
> + || (unsigned HOST_WIDE_INT)INTVAL (arg) >= OACC_HWM)
Don't we have UINTVAL for this? So UINTVAL (arg).
Marek
I've committed this patch to the gomp4 branch, after testing. It does a number
of cleanups
1) removes the ptx-specific TID, NTID, CTAID & NCTAID builtins, replacing them
with openacc-specific GOACC_id and GOACC_nid builtins, using gang/worker &
vector level enumeration. These are mapped by t