[LLVMdev] Performance regression on ARM (original) (raw)

Joerg Sonnenberger joerg at britannica.bec.de
Sat Oct 18 17:25:32 PDT 2014


On Sun, Oct 19, 2014 at 06:58:53AM +0700, C Bergström wrote:

On Sun, Oct 19, 2014 at 6:45 AM, Joerg Sonnenberger <joerg at britannica.bec.de_ _> wrote:

> On Sun, Oct 19, 2014 at 06:31:24AM +0700, C Bergström wrote: > > I apologize that I haven't been able to follow this thread entirely, but > if > > someone gives me a Fortran testcase I can check what Fortran+llvm would > do > > currently and maybe give more feedback. > > Short version: if you multiple or divide a complex number by a real > number, is it valid to just do the trivial component wise computation? > What about multiplying with / dividing by a pure imaginary number? > I'll try to get a solid answer, but for clarity.. Fortran has types REAL and CMPLX. I'm not sure if you mean INT or REAL when you say "real" number..

I am using "real" in the mathematical sense, so cast/promotion from either INT or REAL would fit.

Joerg



More information about the llvm-dev mailing list