https://llvm.org/bugs/show_bug.cgi?id=23420

            Bug ID: 23420
           Summary: Exploit LRVH/STRVH/MVCIN for byte swaps
           Product: libraries
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: SystemZ
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

System z currently uses the word and doubleword forms of LOAD REVERSED
and STORE REVERSED to optimize byte-swap idioms.

However, the architecture also provides halfword forms of those
instructions which could be exploited likewise.

In addition, the architecture provides a MOVE INVERSE instruction that
can be used to implement a direct memory-to-memory version of byte-swap
(of any length, in particular including halfword, word, and doubleword).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to