4 ms·
Some of the information you want is published by Intel. Some of is better found on https://uops.info/ https://uops.info/ or in Peter Cordes's answers on StackOv
by anonymoushn 3y ago
Some of the information you want is published by Intel. Some of is better found on https://uops.info/ https://uops.info/ or in Peter Cordes's answers on StackOverflow or in the comments section of Agner Fog's web site. Some of it you must determine experimentally. Empirically modern compilers do not fully exploit much of this knowledge, though e.g. LLVM-MCA proves that they contain a good bit of it.
- rerdavies 3y agoAnecdotally, GCC seems to do a startlingly good job of instruction scheduling, on x86 and ARM. I've always wondered what sort of architecture models the big compilers have, and have been meaning to browse the source code to find out for some time. Does anyone know?
- zypeh 2y agoFor HPC code that aims to run on intel cpu. Do you recommend compiler like intel OneAPI c compiler over LLVM or GCC? Before one starting to profile / invest time on reading manual on specific compiler.