Displaying 2 results from an estimated 2 matches for "preproceeded".
2013 May 06
3
[LLVMdev] Do we abuse the "nsw" flag
...here:
Clang fails to compile 254.gap @ CPU2000int suite. The symptom is
that executable fail to run
with reference input.
The root cause is that the compiler mistakenly optimizes expr "x * y
/ y" into x where the x*y is blindly
flagged with nsw without any analysis.
The preproceeded code is excerpted bellow:
cat -n integer.i
---------------------------------
2361 TypHandle ProdInt ( hdL, hdR )
2362 TypHandle hdL, hdR;
2363 {
....
2373 if ( (int)hdL & (int)hdR & 1 ) {
2374
2375
2376 i = ((int)hdL - 1) * ((int)hdR >> 1); /* !!! No barbaric
NSW, p...
2013 May 06
0
[LLVMdev] Do we abuse the "nsw" flag
...o compile 254.gap @ CPU2000int suite. The symptom is that executable fail to run
> with reference input.
>
> The root cause is that the compiler mistakenly optimizes expr "x * y / y" into x where the x*y is blindly
> flagged with nsw without any analysis.
>
> The preproceeded code is excerpted bellow:
>
> cat -n integer.i
> ---------------------------------
> 2361 TypHandle ProdInt ( hdL, hdR )
> 2362 TypHandle hdL, hdR;
> 2363 {
> ....
> 2373 if ( (int)hdL & (int)hdR & 1 ) {
> 2374
> 2375
> 2376 i = ((int)hdL -...