[PATCH] Improved udivmodsi4 with support for ARMv4
Tim Northover
t.p.northover at gmail.com
Thu Jan 23 10:57:55 PST 2014
Thanks for working on those benchmarks Renato.
> or, reuse something that compiler-rt does for you. GLibC does this when GCC != 4.8:
>
> /* The __ARM_ARCH define is provided by gcc 4.8. Construct it otherwise. */
> #ifndef __ARM_ARCH
> # ifdef __ARM_ARCH_2__
> # define __ARM_ARCH 2
I much prefer this one. We can even put it in a header and then nuke
it the second LLVM starts requiring GCC 4.8.
Cheers.
Tim.
More information about the llvm-commits
mailing list