This is an archive of the discontinued LLVM Phabricator instance.

[mips] Add highly experimental support for MIPS-I, MIPS-II, MIPS-III, and MIPS-V
ClosedPublic

Authored by dsanders on Apr 30 2014, 6:58 AM.

Details

Summary

These processors will only be available for the integrated assembler at
first (CodeGen will emit a fatal error saying they are not implemented).

The intention is to work through the existing instructions and correctly
annotate the ISA they were added in so that we have a sufficiently good
base to start MIPS64r6 development. MIPS64r6 removes/re-encodes certain
instructions and I believe it is best to define ISA's using set-union's
as far as possible rather than using set-subtraction.

Diff Detail

Event Timeline

dsanders updated this revision to Diff 8976.Apr 30 2014, 6:58 AM
dsanders retitled this revision from to [mips] Add highly experimental support for MIPS-I, MIPS-II, MIPS-III, and MIPS-V.
dsanders updated this object.
dsanders edited the test plan for this revision. (Show Details)
dsanders added a subscriber: Unknown Object (MLST).
dsanders updated this revision to Diff 9166.May 7 2014, 6:46 AM
  • Do without the ability to mark CPU's as experimental for the moment. This removes the dependency on D3568
emaste added a subscriber: emaste.May 7 2014, 7:08 AM
vmedic edited edge metadata.May 7 2014, 8:38 AM

Again, I'm not sure if the 80 characters per line limit applies to test files, since the run commands exceed this limit. One line in the td files also does that. Other then that, the patch looks good to me.

lib/Target/Mips/Mips.td
68

Exceeds 80 characters

Thanks. Test files generally aren't following the 80 column limit so I don't think that's a problem.

dsanders accepted this revision.May 7 2014, 9:33 AM
dsanders added a reviewer: dsanders.
This revision is now accepted and ready to land.May 7 2014, 9:33 AM
dsanders closed this revision.May 7 2014, 9:33 AM