[llvm-dev] Understanding targets

Simon Atanasyan via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 14 01:47:40 PST 2019


On Thu, Nov 14, 2019 at 10:11 AM Gaier, Bjoern <Bjoern.Gaier at horiba.com> wrote:
> So If I understand it correctly, Clang knows what 'mips1' and 'mips5' are - but can't generate code for it? Why is it like that?

As Daniel Sanders said:
[[
We never implemented mips1 codegen as it was orders of magnitude
harder than mips2 (mostly because of the delay slots on load
instructions) and there's no 'generic' mips1 target (because
coprocessor 0 wasn't standardized).
]]

MIPS 2 should work.

-- 
Simon Atanasyan


More information about the llvm-dev mailing list