https://bugs.kde.org/show_bug.cgi?id=385055

--- Comment #7 from Carl Love <c...@us.ibm.com> ---
Created attachment 108069
  --> https://bugs.kde.org/attachment.cgi?id=108069&action=edit
Use vperm Iop code with minor modifications to implement the xxperm and xxpermr
instructions

The xxperm instructions does the same permute as the vperm instruction.  The
difference is the xxperm instruction works on the VSX register file and hte
vperm works on the VR register file.  The vperm instruction has three input
registers and the xxperm has two input registers and then uses the output
register as an additional input register.  Basically, you can use the vperm
instruction to emulate the xxperm with some register renaming.  The attached
patch just takes the existing vperm Iop code and tweeks it to do the xxperm and
xxpermr instructions.  This only generates a few Iops rather then the massive
amount of iops as the previous implementation.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to