compare_and_write_minimum_or_maximum.py (6573:6e14c5d36a1a) compare_and_write_minimum_or_maximum.py (6575:e5a3ae40c4d0)
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

--- 70 unchanged lines hidden (view full) ---

79};
80
81def macroop PMINSW_MMX_P {
82 rdip t7
83 ldfp ufp1, seg, riprel, disp, dataSize=8
84 mmini mmx, mmx, ufp1, size=2, ext=2
85};
86
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

--- 70 unchanged lines hidden (view full) ---

79};
80
81def macroop PMINSW_MMX_P {
82 rdip t7
83 ldfp ufp1, seg, riprel, disp, dataSize=8
84 mmini mmx, mmx, ufp1, size=2, ext=2
85};
86
87# PMAXUB
88# PMAXSW
87def macroop PMAXUB_MMX_MMX {
88 mmaxi mmx, mmx, mmxm, size=1, ext=0
89};
90
91def macroop PMAXUB_MMX_M {
92 ldfp ufp1, seg, sib, disp, dataSize=8
93 mmaxi mmx, mmx, ufp1, size=1, ext=0
94};
95
96def macroop PMAXUB_MMX_P {
97 rdip t7
98 ldfp ufp1, seg, riprel, disp, dataSize=8
99 mmaxi mmx, mmx, ufp1, size=1, ext=0
100};
101
102def macroop PMAXSW_MMX_MMX {
103 mmaxi mmx, mmx, mmxm, size=2, ext=2
104};
105
106def macroop PMAXSW_MMX_M {
107 ldfp ufp1, seg, sib, disp, dataSize=8
108 mmaxi mmx, mmx, ufp1, size=2, ext=2
109};
110
111def macroop PMAXSW_MMX_P {
112 rdip t7
113 ldfp ufp1, seg, riprel, disp, dataSize=8
114 mmaxi mmx, mmx, ufp1, size=2, ext=2
115};
89'''
116'''