git-svn: trunk@3356
aCaB authored on 2007/11/03 23:28:10... | ... |
@@ -421,18 +421,8 @@ static double LAME_fpusht(struct LAME *l) { |
421 | 421 |
/* return 0.0; */ |
422 | 422 |
/* } */ |
423 | 423 |
|
424 |
-#if WORDS_BIGENDIAN == FPU_WORDS_BIGENDIAN |
|
425 | 424 |
ret.as_uint.lo = rolled << 0x14; |
426 | 425 |
ret.as_uint.hi = 0x3ff00000 | (rolled >> 0xc); |
427 |
-#else |
|
428 |
- do { |
|
429 |
- uint32_t tmp = rolled << 0x14; |
|
430 |
- |
|
431 |
- ret.as_uint.lo = ((tmp&0xff)<<24) | (((tmp>>8)&0xff)<<16) | (((tmp>>16)&0xff)<<8) | ((tmp>>24)&0xff); |
|
432 |
- tmp = 0x3ff00000 | (rolled >> 0xc); |
|
433 |
- ret.as_uint.hi = ((tmp&0xff)<<24) | (((tmp>>8)&0xff)<<16) | (((tmp>>16)&0xff)<<8) | ((tmp>>24)&0xff); |
|
434 |
- } while(0); |
|
435 |
-#endif |
|
436 | 426 |
return ret.as_double - 1.0; |
437 | 427 |
} |
438 | 428 |
|