20 |
; * along with this program; if not, write to the Free Software |
; * along with this program; if not, write to the Free Software |
21 |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
; * |
; * |
23 |
; * $Id: gmc_mmx.asm,v 1.1 2006-06-14 21:44:07 Skal Exp $ |
; * $Id: gmc_mmx.asm,v 1.3 2008-08-19 09:06:48 Isibaar Exp $ |
24 |
; * |
; * |
25 |
; *************************************************************************/ |
; *************************************************************************/ |
26 |
|
|
193 |
|
|
194 |
GMC_8_SSE2 |
GMC_8_SSE2 |
195 |
|
|
196 |
pshuflw xmm4, [esp +20], 01010101b ; Rounder (bits [16..31]) |
movd xmm4, [esp +20] |
197 |
|
pshuflw xmm4, xmm4, 01010101b ; Rounder (bits [16..31]) |
198 |
punpckldq xmm4, xmm4 |
punpckldq xmm4, xmm4 |
199 |
mov eax, [esp + 4] ; Dst |
mov eax, [esp + 4] ; Dst |
200 |
|
|
207 |
.endfunc |
.endfunc |
208 |
|
|
209 |
;////////////////////////////////////////////////////////////////////// |
;////////////////////////////////////////////////////////////////////// |
210 |
|
|
211 |
|
%ifidn __OUTPUT_FORMAT__,elf |
212 |
|
section ".note.GNU-stack" noalloc noexec nowrite progbits |
213 |
|
%endif |