[J3] Why is += missing?

Van Snyder van.snyder at sbcglobal.net
Wed Aug 25 17:53:08 UTC 2021


On Wed, 2021-08-25 at 13:34 +0000, Brad Richardson via J3 wrote:
> > += and -=, which are more likely to have hardware support anyways.
> 
> This is I think the compelling argument that might win over more of
> the committee; that it will make it easier for compilers to take
> advantage of newer hardware/instruction sets for these cases. As much
> as I am convinced by the convenience of the "syntactic sugar", I
> think improved performance is the selling point for Fortran.

Many years ago, I asked for intrinsic functions to inquire the number,
size, and relative speeds of caches, so that one could write something
like ATLAS without needing the baggage ATLAS needs to use to tune it
before it can finally be compiled for actual use.

Another was an intrinsic function to inquire how much a processor had
unrolled a loop because there are some loops that cannot be unrolled
without converting a variable to an array of that size.

The answers were "my compiler can figure that out."

Van

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20210825/4b2cfb9b/attachment.htm>


More information about the J3 mailing list