This is an archive of the discontinued LLVM Phabricator instance.

[X86][AVX512] Passing the appropriate memory operand class to INT_{U}COMIS{S|D} instructions
ClosedPublic

Authored by aymanmus on Dec 28 2016, 8:21 AM.

Details

Summary

Replacing the memory operand in the intrinsic versions of the comis/ucomis instrucions from f128mem to ssmem/sdmem accordingly.

Diff Detail

Repository
rL LLVM

Event Timeline

aymanmus updated this revision to Diff 82595.Dec 28 2016, 8:21 AM
aymanmus retitled this revision from to [X86][AVX512] Passing the appropriate memory operand class to INT_{U}COMIS{S|D} instructions.
aymanmus updated this object.
aymanmus added reviewers: igorb, zvi.
aymanmus added a subscriber: llvm-commits.

I wonder if we should be using sse_load_f32 and sse_load_f64 and ssmem/sdmem.

Can you add Intel assembly syntax test cases that I assume are affected by this change.

aymanmus updated this revision to Diff 82655.Dec 29 2016, 1:18 AM

Used {ss|sd}mem instead of {f32|f64}mem with the suitable complex pattern loads.

The changed instructions are marked with "isCodeGenOnly", therefore cannot be tested with encoding tests.

aymanmus updated this object.Jan 3 2017, 7:15 AM
aymanmus added a reviewer: craig.topper.
craig.topper accepted this revision.Jan 3 2017, 7:49 PM
craig.topper edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jan 3 2017, 7:49 PM
This revision was automatically updated to reflect the committed changes.