RegAllocGreedy behaves host-dependent (-mfpmath on i686)
NAKAMURA Takumi
geek4civic at gmail.com
Mon Feb 3 04:44:15 PST 2014
Jakob,
On i686 host, I saw different output between llc compiled by
gcc-4.7 (-mfpmath=387 by default) and
llc compiled by clang (-mfpmath=sse, I guess).
It seems "clang -mno-sse" can suppress this issue.
Although I am still investigating, I could suggest (float)Hysteresis
as more simple number
to suppress this issue.
I suggest (64225 / 65536.0f) or (2007 / 2048.0f). The latter is more simple :)
This issue affects i686 selfhosting, for example;
http://bb.pgr.jp/builders/clang-3stage-i686-cygwin
Excuse me to bother you, thanks.
...Takumi
More information about the llvm-commits
mailing list