We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
There's no instruction to split two registers like that.For parallel comparisons there's a set of instructions that performs add or subtract operations on 8-bit or 16-bit quantities and sets the GE registers based on whether or not the result overflows (there are signed and unsigned versions). Then you can use the sel instruction to conditionally select from two registers based on the GE bits.You might be able to adapt sasx/ssax/uasx/usax to do what you want. That'll exchange the top and bottom halfwords then add one halfword and subtract the other, while setting GE.