[macstl-dev] not all rosey in the gcc-4.0.0 land

Ilya Lipovsky lipovsky at skycomputers.com
Sat Jul 2 12:32:23 WST 2005

  • Previous message: [macstl-dev] not all rosey in the gcc-4.0.0 land
  • Next message: [macstl-dev] not all rosey in the gcc-4.0.0 land
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]


>
> That is strange indeed. On Apple gcc 4.0 (as of Xcode 2.1), the following:
>
>        using namespace stdext;
>        valarray <float> v1 (10.f, 100);
>        valarray <float> v2 (20.f, 100);
>        std::cout << (v1 * v2).sum ();
>
> produces 20000 as expected. Do you not get this result with Yellow Dog Linux?
>
> You may have to check carefully where the problem occurs in YDL, since this 
> is explicitly one of the expressions optimized to use vmaddfp through 
> valarray_altivec.h:154.
>

Could you please try that with valarray<stdext::complex <float> > ? 
Because this is where my code fails.

-Ilya



  • Previous message: [macstl-dev] not all rosey in the gcc-4.0.0 land
  • Next message: [macstl-dev] not all rosey in the gcc-4.0.0 land
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the macstl-dev mailing list