1 |
Frank Peters <frank.peters@×××××××.net> skribis: |
2 |
> A few days ago I posted about a possible problem with a floating |
3 |
> point test called the UCBTEST. After examining the source code |
4 |
> of this test, I see violations of aliasing rules throughout. |
5 |
> It's hard to efficiently manipulate variables without them. |
6 |
|
7 |
C is essentially a glorified assembly language for PDP-11, designed |
8 |
for bit-twiddling, which the original K&R book encouraged, and which |
9 |
this code is doing. So all is well, from my point of view. :) Fancy |
10 |
optimizations are not to be trusted on assembly code; never be afraid |
11 |
to turn them off. You probably don’t need them, anyway. :) |