Anatoly Sokolov schrieb:
Hi.Consider this test case: unsigned long rotl (int dummy, unsigned long x) { return (x << 8) | (x >> 24); } Compile with, e.g. avr-gcc -mmcu=atmega8 -S -Os -fno-split-wide-types This will map 0x33221100 to 0x33110033 instead of to 0x22110033Please test the patch.
reg_overlap_mentioned_p won't suffice because there are two cases depending on REGNO(src) < REGNO(dest) and REGNO(src) > REGNO(dest)
Georg-Johann _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
