This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Fixup sign extend instruction availability w.r.t. DSP extension
ClosedPublic

Authored by bsmith on Jan 19 2015, 8:20 AM.

Details

Reviewers
jmolloy
Summary

The thumb2 instructions sxtab/sxtah/sxtab16/sxtb16 and their unsigned counterparts are only available when the DSP extension is available, currently not all of these instructions and their aliases respect this. This patch fixes this up to be consistent.

Diff Detail

Repository
rL LLVM

Event Timeline

bsmith updated this revision to Diff 18393.Jan 19 2015, 8:20 AM
bsmith retitled this revision from to [ARM] Fixup sign extend instruction availability w.r.t. DSP extension.
bsmith updated this object.
bsmith edited the test plan for this revision. (Show Details)
bsmith set the repository for this revision to rL LLVM.
bsmith added a subscriber: Unknown Object (MLST).
jmolloy accepted this revision.Jan 19 2015, 8:33 AM
jmolloy added a reviewer: jmolloy.
jmolloy added a subscriber: jmolloy.

Looks OK, but where are the positive tests? Assuming LLVM already has those somewhere?

This revision is now accepted and ready to land.Jan 19 2015, 8:33 AM
bsmith closed this revision.Jan 19 2015, 8:37 AM

The positive tests already exist in test/MC/ARM/basic-{arm,thumb2}-instructions.s.

Committed as r226468.