This is an archive of the discontinued LLVM Phabricator instance.

[mips] Marked up instructions added in MIPS32r2 and tested that IAS for -mcpu=mips(2|32) does not accept them
ClosedPublic

Authored by dsanders on May 9 2014, 6:19 AM.

Details

Summary

This required a new instruction group representing the 32-bit subset of
MIPS-3 that was available in MIPS32R2.

To limit the number of tests required, only one 32-bit and one 64-bit ISA
prior to MIPS32/MIPS64 are tested.

rdhwr has been deliberately left without an ISA annotation for now. This is
because the assembler and CodeGen disagree on when the instruction is
available. Strictly speaking, it is only available in MIPS32r2 and
MIPS64r2. However, it is emulated by a kernel trap on earlier ISA's and is
necessary for TLS so CodeGen should emit it on older ISA's too.

Depends on D3696

Diff Detail

Event Timeline

dsanders updated this revision to Diff 9253.May 9 2014, 6:19 AM
dsanders retitled this revision from to [mips] Marked up instructions added in MIPS32r2 and tested that IAS for -mcpu=mips(2|32) does not accept them.
dsanders updated this object.
dsanders edited the test plan for this revision. (Show Details)
dsanders added a reviewer: vmedic.
vmedic accepted this revision.May 13 2014, 3:08 AM
vmedic edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 13 2014, 3:08 AM
dsanders closed this revision.May 13 2014, 4:52 AM