I have done some informal testing that showed clang to produce slower code
than GCC for simh. The difference is perhaps within 5-10%, so not a lot
slower,  but enough to be easily measurable. It certainly is true, though,
that compilation with clang is usually faster than with GCC.

-Henry
On May 27, 2016 3:04 PM, "Kevin Handy" <[email protected]> wrote:

> Has anyone done a comparison (benchmarks) between simh emulators compiled
> with g++ verses clang?
>
> clang seems to me to run quite a bit faster than gcc, but I haven't run
> any actual comparisons between the two so it is completely subjective.
>
> A full 'make' seems to build faster with clang than gcc.
>
> Just curious. I recently noticed bthe clang stuff in the makefile, so I
> thought I'd try it out.
>
>
> _______________________________________________
> Simh mailing list
> [email protected]
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh

Reply via email to