[Bug target/58928] Different results from gcc when -mlzcnt is used

jtaylor.debian at googlemail dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 17 10:31:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58928

Julian Taylor <jtaylor.debian at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jtaylor.debian at googlemail dot c
                   |                            |om

--- Comment #3 from Julian Taylor <jtaylor.debian at googlemail dot com> ---
the result will be different depending on running on amd or intel cpu.
lzcnt encoding maps to some other instruction (bsr) on intel cpus, see

http://code.google.com/p/corkami/wiki/x86oddities#lzcnt



More information about the Gcc-bugs mailing list