OSDN Git Service

mesa: Drop -fno-builtin-memcmp.
authorMatt Turner <mattst88@gmail.com>
Thu, 30 Jun 2016 21:16:16 +0000 (14:16 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 21 Jul 2016 17:45:28 +0000 (10:45 -0700)
commit5353855e9d0f470d9d4799850002a181d2b3b151
treef7b3be1cc3d71f48e5b023aca6ba0fbb25749d1b
parent5ec140c17b54c25920091501b665b9aa809cc5e8
mesa: Drop -fno-builtin-memcmp.

According to the referenced bug report, gcc-4.5 and newer do not inline
memcmp(). I see no difference in performance of ipers with llvmpipe on a
Sandybridge (which does not have "Enhanced REP MOVSB/STOSB") by removing
this flag.

I attempted to confirm the problem with gcc-4.4, but it fails to compile
for quite a few different reasons.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
configure.ac