new proposal to vector intrinsics
Sa Liu
SALIU@de.ibm.com
Tue Jan 15 18:49:00 GMT 2008
Tobias Burnus <burnus@net-b.de> wrote on 14.01.2008 21:50:18:
> How is the
> assignment handled in xlf? The documentation is rather mute about this
> aspect.
The way using equivalence statement to map an array with vector is how
currently xlf initializes vector data. The vector literal part has not yet
been implemented. They plan to use {/ ... /} (curly braces) for the
syntax:
vector(real(4)) :: a = {/ 1.0, 2.0, 3.0, 4.0 /}
Is this syntax OK for gfortran?
> PS: What I do not understand is how I/O will be handled. If I understand
> it correctly, the xlf version supports unformatted I/O. (The Fortran
> 2003 way of handling this would be "user-defined derived-type
> input/output"; again something which gfortran does not yet support - and
> something which seems to be rather complex. Robert Corbett of Sun
> regards its implementation as the by far most time consuming feature of
> Fortran 2003, which has according to Richard Maine [editor of the
> Fortran 2003 standard] the worst cost/benefit ratio. Though, here it
> would be useful.)
How could I/O handling affect the intrinsic issue?
Thanks!
Sa
More information about the Fortran
mailing list