Mail Archives: djgpp/1997/04/30/17:44:53
Michael Bukin wrote:
>
> struct test_t
> {
> int a;
> } __attribute__ ((__aligned__ (16)));
>
> About type attributes:
> info gcc "c extensions" "type attributes"
>
> About variable attributes:
> info gcc "c extensions" "variable attributes"
I tryed that, it doesn't seem to work. Maybe my compiler isn't
configured in a right way?
-----------------------------------
To Eli Zaretski:
I'm shure my doubles are NOT aligned on a 64 byte boundary, if I put a
int variable beafore the inner's data I get about 10% increase or
decrease in performance, depending on the code and data before.
With data aligned on a 32 byte boudary I woudn't get any dramaticat
speed up, but it would be always something, and if it can be done why
don't do it?
-----------------------------------
To Leath Muller:
As far as I know double and single operations are the same speed on
pentium. The only instruction, which is faster in single precision is
fdiv, but it takes more time to put 8 pixels(I interpolate u & v in
texture and light value lineary every 8 pixels) then to exectute double
precision fdiv. With double I can use some tricks, and have better
precision.
- Raw text -