[llvm-dev] Zen arch in 5.0?

Carsten Mattner via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 30 06:57:19 PDT 2017


On Fri, Jun 30, 2017 at 6:14 AM, Das, Dibyendu <Dibyendu.Das at amd.com> wrote:
> We are preparing the patches for the scheduler. Regarding register allocator I
> don’t think there's anything big. Maybe minor tweaks. We need to work a bit
> more on the TTI and cost model though as there are differences between Intel
> and AMD on latencies/micro-coding of certain instructions.

Thanks for the info. In fact, I haven't checked gcc at all and since I have your
ear, I'm thinking out loud wondering how complete gcc 7.1's zen awareness is.
I remember diffs landing in gcc around mid-2015.

> Cant really comment on zen2 specifics at this point.

No need to talk details. I'm only hoping that the diffs will be
applied early enough
to land in a release that happens before zen2 reaches customers. This
is important
for Linux distros but of utmost use for FreeBSD and other systems that
have clang
as the default host compiler. Apple is special in that they coordinate
hardware and
toolchains and are irrelevant there, but the ability to use optimal
march=native on
Gentoo etc. is more than nice to have. Hope this explain where I was trying to
get with the question. Thanks and keep up the good work at AMD!


This is all I'm asking/wondering and thanks for answering so far. I
won't bother/annoy
with more questions :).


More information about the llvm-dev mailing list