move.py (5081:2ccce8600a9d) move.py (6520:962f58808d53)
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# MOVD
57def macroop MOVD_MMX_R {
58 mov2fp mmx, regm, srcSize=dsz, destSize=8
59};
60
61def macroop MOVD_MMX_M {
62 ldfp mmx, seg, sib, disp, dataSize=8
63};
64
65def macroop MOVD_MMX_P {
66 rdip t7
67 ldfp mmx, seg, riprel, disp, dataSize=8
68};
69'''
58# MOVQ
59# MOVDQA
60# MOVDQU
61# MOVDQ2Q
62# MOVQ2DQ
63# LDDQU
70# MOVQ
71# MOVDQA
72# MOVDQU
73# MOVDQ2Q
74# MOVQ2DQ
75# LDDQU
64'''