open-watcom/open-watcom-v2 — pull request #96 by javiergutierrezchamorro (2014-09-16 13:42:12+00:00)
Title: This commit improves x86 assembly code with speed and size optimizations...

..., mainly consisting on:

- mov , 0 => xor , . When flags are not used it is usually smaller, and faster in 386 or lower CPU.
- cmp , 0 => test , . When flags are not used it is usually smaller, and faster in 386 or lower CPU.
- mov , -1 => or , -1. When flags are not used it is usually smaller, and faster in 386 or lower CPU.
- mov , x, mov , y => mov regx, x*256+y. Usually smaller and always faster.

Special focus has been put on mathlib and clib. Commit builds OK, and passes all regression tests.

More optimizations would follow.