Paolo Bonzini wrote:
The main difference that springs to mind: SIN is built-in, MATMUL is a library
function. In gcc/builtin.defs, one finds
Not just that: SIN is a pure (or const, depending on -frounding-math)
function, which can be subject to CSE and DCE. I don't see anything
suggesting th
> The main difference that springs to mind: SIN is built-in, MATMUL is a
> library
> function. In gcc/builtin.defs, one finds
Not just that: SIN is a pure (or const, depending on -frounding-math)
function, which can be subject to CSE and DCE. I don't see anything
suggesting that for MATMUL in
Hi all.
While looking at PR fortran/22572, I wondered where the difference between the
following two programs might be:
$> cat matmul.f90
REAL, DIMENSION(1,1), PARAMETER :: a = 1.0, b = 2.0
REAL, DIMENSION(1,1) :: c
c = MATMUL(a, b)
c = MATMUL(a, b)
end
$> cat sin.f90
REAL, DIMENSION(