shuffle_and_swap.py (5081:2ccce8600a9d) | shuffle_and_swap.py (6597:4903cea6a8c2) |
---|---|
1# Copyright (c) 2007 The Hewlett-Packard Development Company 2# All rights reserved. 3# 4# Redistribution and use of this software in source and binary forms, 5# with or without modification, are permitted provided that the 6# following conditions are met: 7# 8# The software must be used only for Non-Commercial Use which means any --- 40 unchanged lines hidden (view full) --- 49# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 50# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 51# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53# 54# Authors: Gabe Black 55 56microcode = ''' | 1# Copyright (c) 2007 The Hewlett-Packard Development Company 2# All rights reserved. 3# 4# Redistribution and use of this software in source and binary forms, 5# with or without modification, are permitted provided that the 6# following conditions are met: 7# 8# The software must be used only for Non-Commercial Use which means any --- 40 unchanged lines hidden (view full) --- 49# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 50# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 51# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53# 54# Authors: Gabe Black 55 56microcode = ''' |
57# PSHUFW 58# PSWAPD | 57def macroop PSHUFW_MMX_MMX_I { 58 shuffle mmx, mmxm, mmxm, size=2, ext=imm 59}; 60 61def macroop PSHUFW_MMX_M_I { 62 ldfp ufp1, seg, sib, disp, dataSize=8 63 shuffle mmx, ufp1, ufp1, size=2, ext=imm 64}; 65 66def macroop PSHUFW_MMX_P_I { 67 rdip t7 68 ldfp ufp1, seg, riprel, disp, dataSize=8 69 shuffle mmx, ufp1, ufp1, size=2, ext=imm 70}; 71 |
59''' | 72''' |
73# PSWAPD |
|