This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Add Test for Paired Single Decoding
AbandonedPublic

Authored by DarkKirb on Aug 26 2020, 6:35 AM.

Details

Reviewers
None
Summary

This has uncovered multiple bugs with my previous implementation, namely that
ps_res and ps_frsqte had the wrong opcode and that the decoding for
immediate-offset loads and stores in ps_l* and ps_st* caused internal compiler
errors.

I couldn't reuse the logic from other immediate-offset code because

  1. The register and the offset field are not right next to each other
  2. The currently existing memri* asm operands are not 12 bit with unaligned offsets.

This commit also fixes the test suite for powerpc as it puts the new
instructions into a separate namespace (called Paired).

Diff Detail

Event Timeline

DarkKirb created this revision.Aug 26 2020, 6:35 AM
DarkKirb requested review of this revision.Aug 26 2020, 6:35 AM
DarkKirb abandoned this revision.Aug 26 2020, 6:36 AM