1. At the time of last post I have not noticed your
patch yet.

You couldn't have, as the patch was committed just before my reply. I threw in the code to emphasize/prove the point in the post that portable code is virtually as good, especially if you take into consideration *all-round* performance and not on given platform commonly referred to as "my computer."

??? PowerPC handles unaligned load/stores in
hardware[*],

struct x {
char a;
double b;
} __attribute__((packed));

void f() {
   struct x;
   double c = 5.0;

   x.b = c;
}

Compiled as single blr instruction:-) But I get the point and see it in generated machine code now [for accordingly modified snippet].

Can you please point me to the deprecation
announcement of the gcc vector intrinsics, you've
mentioned?

I never mentioned deprecation of vector intrinsics, but of __attribute__((mode)). I can't give any pointers, as I simply tried gcc-4.0.0 and it complained as following:

warning: specifying vector types with __attribute__ ((mode)) is deprecated
warning: use __attribute__ ((vector_size)) instead

A.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to