This is an archive of the discontinued LLVM Phabricator instance.

[mips] Fix register positions in the aui/daui instructions
ClosedPublic

Authored by mstojanovic on Jun 7 2017, 5:41 AM.

Details

Summary

Swapped the position of the rt and rs register in the aut/daui instructions for mips32r6 and mips64r6.
With this change the format of the generated instructions complies with specifications and GCC.

Diff Detail

Repository
rL LLVM

Event Timeline

mstojanovic created this revision.Jun 7 2017, 5:41 AM
sdardis accepted this revision.Jun 8 2017, 3:32 AM

LGTM.

This revision is now accepted and ready to land.Jun 8 2017, 3:32 AM
This revision was automatically updated to reflect the committed changes.