This is an archive of the discontinued LLVM Phabricator instance.

[mips] Add assembler support for the .set nodsp directive.
ClosedPublic

Authored by tomatabacu on Sep 1 2014, 7:26 AM.

Details

Summary

This directive is used to tell the assembler to reject DSP-specific instructions.

Diff Detail

Event Timeline

tomatabacu updated this revision to Diff 13139.Sep 1 2014, 7:26 AM
tomatabacu retitled this revision from to [mips] Add assembler support for the .set nodsp directive..
tomatabacu updated this object.
tomatabacu edited the test plan for this revision. (Show Details)
tomatabacu added a reviewer: dsanders.
tomatabacu updated this revision to Diff 13383.Sep 8 2014, 3:18 AM

Fixed end of statement error reporting.
Added a comment.

dsanders accepted this revision.Sep 14 2014, 6:53 AM
dsanders edited edge metadata.

LGTM

Could you follow up with a change to implement the '.set dsp' in a similar way?

Also, we should consider templating this kind of '.set foo'/'.set nofoo' directive since they are very similar to each other.

This revision is now accepted and ready to land.Sep 14 2014, 6:53 AM
tomatabacu closed this revision.Sep 17 2014, 2:11 AM