(j3.2006) STAT= and integer kind

Tobias Burnus burnus
Tue Jul 8 01:38:31 EDT 2014


Bill Long wrote:
> I agree with Malcolm?s comments, particularly about the last one 
> regarding minimal requirements on the sizes of integers appropriate 
> for STAT arguments in intrinsics. I will be putting the text from the 
> meeting papers into the next TS draft, including having default 
> integer STAT arguments.

I also concur with the comment. I think many implementations will have a 
stat value which does not fit into a 8byte-variable. If you use "default 
integer" in the TS draft, we are back at consistency; I don't intent to 
implement extensions before F2015.

Regarding the atomic intrinsics and STAT: Is there a specific reason 
that ATOMIC_CAS does not have a STAT argument? At least J3/14-173r2 
doesn't list ATOMIC_CAS, contrary to the new atomic_[fetch_]op (op = 
add, and, or, xor) and the old atomic_ref/atomic_define.

Tobias



More information about the J3 mailing list