annotate i386/mmx.h @ 8043:a591c3736fd8 libavcodec

Revert r15653. Was "Copy pts for each raw encoded frame." It causes problems as timestamps management when video sync is zero needs rework in ffmpeg.c.
author benoit
date Thu, 23 Oct 2008 07:30:16 +0000
parents eebc7209c47f
children 17b40776c5ce
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
1 /*
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
2 * mmx.h
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
3 * Copyright (C) 1997-2001 H. Dietz and R. Fisher
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3578
diff changeset
4 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
5 * This file is part of FFmpeg.
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
6 *
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3578
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3578
diff changeset
9 * License as published by the Free Software Foundation; either
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3578
diff changeset
11 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3578
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3578
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3578
diff changeset
15 * Lesser General Public License for more details.
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3578
diff changeset
16 *
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3578
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 3578
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
20 */
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 6636
diff changeset
21 #ifndef AVCODEC_I386_MMX_H
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 6636
diff changeset
22 #define AVCODEC_I386_MMX_H
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
23
6328
d61c328938e8 Deprecate old and inefficient per instruction asm().
michael
parents: 5830
diff changeset
24 #warning Everything in this header is deprecated, use plain asm()! New code using this header will be rejected.
d61c328938e8 Deprecate old and inefficient per instruction asm().
michael
parents: 5830
diff changeset
25
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
26 /*
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
27 * The type of an value that fits in an MMX register (note that long
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
28 * long constant values MUST be suffixed by LL and unsigned long long
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
29 * values by ULL, lest they be truncated by the compiler)
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
30 */
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
31
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
32 typedef union {
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
33 long long q; /* Quadword (64-bit) value */
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
34 unsigned long long uq; /* Unsigned Quadword */
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
35 int d[2]; /* 2 Doubleword (32-bit) values */
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
36 unsigned int ud[2]; /* 2 Unsigned Doubleword */
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
37 short w[4]; /* 4 Word (16-bit) values */
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
38 unsigned short uw[4]; /* 4 Unsigned Word */
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
39 char b[8]; /* 8 Byte (8-bit) values */
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
40 unsigned char ub[8]; /* 8 Unsigned Byte */
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
41 float s[2]; /* Single-precision (32-bit) value */
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
42 } mmx_t; /* On an 8-byte (64-bit) boundary */
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
43
986e461dc072 Initial revision
glantau
parents:
diff changeset
44
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
45 #define mmx_i2r(op,imm,reg) \
8031
eebc7209c47f Convert asm keyword into __asm__.
flameeyes
parents: 7760
diff changeset
46 __asm__ volatile (#op " %0, %%" #reg \
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
47 : /* nothing */ \
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
48 : "i" (imm) )
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
49
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
50 #define mmx_m2r(op,mem,reg) \
8031
eebc7209c47f Convert asm keyword into __asm__.
flameeyes
parents: 7760
diff changeset
51 __asm__ volatile (#op " %0, %%" #reg \
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
52 : /* nothing */ \
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
53 : "m" (mem))
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
54
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
55 #define mmx_r2m(op,reg,mem) \
8031
eebc7209c47f Convert asm keyword into __asm__.
flameeyes
parents: 7760
diff changeset
56 __asm__ volatile (#op " %%" #reg ", %0" \
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
57 : "=m" (mem) \
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
58 : /* nothing */ )
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
59
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
60 #define mmx_r2r(op,regs,regd) \
8031
eebc7209c47f Convert asm keyword into __asm__.
flameeyes
parents: 7760
diff changeset
61 __asm__ volatile (#op " %" #regs ", %" #regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
62
986e461dc072 Initial revision
glantau
parents:
diff changeset
63
8031
eebc7209c47f Convert asm keyword into __asm__.
flameeyes
parents: 7760
diff changeset
64 #define emms() __asm__ volatile ("emms")
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
65
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
66 #define movd_m2r(var,reg) mmx_m2r (movd, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
67 #define movd_r2m(reg,var) mmx_r2m (movd, reg, var)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
68 #define movd_r2r(regs,regd) mmx_r2r (movd, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
69
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
70 #define movq_m2r(var,reg) mmx_m2r (movq, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
71 #define movq_r2m(reg,var) mmx_r2m (movq, reg, var)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
72 #define movq_r2r(regs,regd) mmx_r2r (movq, regs, regd)
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
73
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
74 #define packssdw_m2r(var,reg) mmx_m2r (packssdw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
75 #define packssdw_r2r(regs,regd) mmx_r2r (packssdw, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
76 #define packsswb_m2r(var,reg) mmx_m2r (packsswb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
77 #define packsswb_r2r(regs,regd) mmx_r2r (packsswb, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
78
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
79 #define packuswb_m2r(var,reg) mmx_m2r (packuswb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
80 #define packuswb_r2r(regs,regd) mmx_r2r (packuswb, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
81
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
82 #define paddb_m2r(var,reg) mmx_m2r (paddb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
83 #define paddb_r2r(regs,regd) mmx_r2r (paddb, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
84 #define paddd_m2r(var,reg) mmx_m2r (paddd, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
85 #define paddd_r2r(regs,regd) mmx_r2r (paddd, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
86 #define paddw_m2r(var,reg) mmx_m2r (paddw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
87 #define paddw_r2r(regs,regd) mmx_r2r (paddw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
88
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
89 #define paddsb_m2r(var,reg) mmx_m2r (paddsb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
90 #define paddsb_r2r(regs,regd) mmx_r2r (paddsb, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
91 #define paddsw_m2r(var,reg) mmx_m2r (paddsw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
92 #define paddsw_r2r(regs,regd) mmx_r2r (paddsw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
93
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
94 #define paddusb_m2r(var,reg) mmx_m2r (paddusb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
95 #define paddusb_r2r(regs,regd) mmx_r2r (paddusb, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
96 #define paddusw_m2r(var,reg) mmx_m2r (paddusw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
97 #define paddusw_r2r(regs,regd) mmx_r2r (paddusw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
98
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
99 #define pand_m2r(var,reg) mmx_m2r (pand, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
100 #define pand_r2r(regs,regd) mmx_r2r (pand, regs, regd)
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
101
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
102 #define pandn_m2r(var,reg) mmx_m2r (pandn, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
103 #define pandn_r2r(regs,regd) mmx_r2r (pandn, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
104
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
105 #define pcmpeqb_m2r(var,reg) mmx_m2r (pcmpeqb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
106 #define pcmpeqb_r2r(regs,regd) mmx_r2r (pcmpeqb, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
107 #define pcmpeqd_m2r(var,reg) mmx_m2r (pcmpeqd, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
108 #define pcmpeqd_r2r(regs,regd) mmx_r2r (pcmpeqd, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
109 #define pcmpeqw_m2r(var,reg) mmx_m2r (pcmpeqw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
110 #define pcmpeqw_r2r(regs,regd) mmx_r2r (pcmpeqw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
111
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
112 #define pcmpgtb_m2r(var,reg) mmx_m2r (pcmpgtb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
113 #define pcmpgtb_r2r(regs,regd) mmx_r2r (pcmpgtb, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
114 #define pcmpgtd_m2r(var,reg) mmx_m2r (pcmpgtd, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
115 #define pcmpgtd_r2r(regs,regd) mmx_r2r (pcmpgtd, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
116 #define pcmpgtw_m2r(var,reg) mmx_m2r (pcmpgtw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
117 #define pcmpgtw_r2r(regs,regd) mmx_r2r (pcmpgtw, regs, regd)
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
118
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
119 #define pmaddwd_m2r(var,reg) mmx_m2r (pmaddwd, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
120 #define pmaddwd_r2r(regs,regd) mmx_r2r (pmaddwd, regs, regd)
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
121
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
122 #define pmulhw_m2r(var,reg) mmx_m2r (pmulhw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
123 #define pmulhw_r2r(regs,regd) mmx_r2r (pmulhw, regs, regd)
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
124
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
125 #define pmullw_m2r(var,reg) mmx_m2r (pmullw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
126 #define pmullw_r2r(regs,regd) mmx_r2r (pmullw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
127
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
128 #define por_m2r(var,reg) mmx_m2r (por, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
129 #define por_r2r(regs,regd) mmx_r2r (por, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
130
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
131 #define pslld_i2r(imm,reg) mmx_i2r (pslld, imm, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
132 #define pslld_m2r(var,reg) mmx_m2r (pslld, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
133 #define pslld_r2r(regs,regd) mmx_r2r (pslld, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
134 #define psllq_i2r(imm,reg) mmx_i2r (psllq, imm, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
135 #define psllq_m2r(var,reg) mmx_m2r (psllq, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
136 #define psllq_r2r(regs,regd) mmx_r2r (psllq, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
137 #define psllw_i2r(imm,reg) mmx_i2r (psllw, imm, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
138 #define psllw_m2r(var,reg) mmx_m2r (psllw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
139 #define psllw_r2r(regs,regd) mmx_r2r (psllw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
140
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
141 #define psrad_i2r(imm,reg) mmx_i2r (psrad, imm, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
142 #define psrad_m2r(var,reg) mmx_m2r (psrad, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
143 #define psrad_r2r(regs,regd) mmx_r2r (psrad, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
144 #define psraw_i2r(imm,reg) mmx_i2r (psraw, imm, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
145 #define psraw_m2r(var,reg) mmx_m2r (psraw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
146 #define psraw_r2r(regs,regd) mmx_r2r (psraw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
147
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
148 #define psrld_i2r(imm,reg) mmx_i2r (psrld, imm, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
149 #define psrld_m2r(var,reg) mmx_m2r (psrld, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
150 #define psrld_r2r(regs,regd) mmx_r2r (psrld, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
151 #define psrlq_i2r(imm,reg) mmx_i2r (psrlq, imm, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
152 #define psrlq_m2r(var,reg) mmx_m2r (psrlq, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
153 #define psrlq_r2r(regs,regd) mmx_r2r (psrlq, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
154 #define psrlw_i2r(imm,reg) mmx_i2r (psrlw, imm, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
155 #define psrlw_m2r(var,reg) mmx_m2r (psrlw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
156 #define psrlw_r2r(regs,regd) mmx_r2r (psrlw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
157
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
158 #define psubb_m2r(var,reg) mmx_m2r (psubb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
159 #define psubb_r2r(regs,regd) mmx_r2r (psubb, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
160 #define psubd_m2r(var,reg) mmx_m2r (psubd, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
161 #define psubd_r2r(regs,regd) mmx_r2r (psubd, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
162 #define psubw_m2r(var,reg) mmx_m2r (psubw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
163 #define psubw_r2r(regs,regd) mmx_r2r (psubw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
164
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
165 #define psubsb_m2r(var,reg) mmx_m2r (psubsb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
166 #define psubsb_r2r(regs,regd) mmx_r2r (psubsb, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
167 #define psubsw_m2r(var,reg) mmx_m2r (psubsw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
168 #define psubsw_r2r(regs,regd) mmx_r2r (psubsw, regs, regd)
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
169
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
170 #define psubusb_m2r(var,reg) mmx_m2r (psubusb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
171 #define psubusb_r2r(regs,regd) mmx_r2r (psubusb, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
172 #define psubusw_m2r(var,reg) mmx_m2r (psubusw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
173 #define psubusw_r2r(regs,regd) mmx_r2r (psubusw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
174
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
175 #define punpckhbw_m2r(var,reg) mmx_m2r (punpckhbw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
176 #define punpckhbw_r2r(regs,regd) mmx_r2r (punpckhbw, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
177 #define punpckhdq_m2r(var,reg) mmx_m2r (punpckhdq, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
178 #define punpckhdq_r2r(regs,regd) mmx_r2r (punpckhdq, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
179 #define punpckhwd_m2r(var,reg) mmx_m2r (punpckhwd, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
180 #define punpckhwd_r2r(regs,regd) mmx_r2r (punpckhwd, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
181
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
182 #define punpcklbw_m2r(var,reg) mmx_m2r (punpcklbw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
183 #define punpcklbw_r2r(regs,regd) mmx_r2r (punpcklbw, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
184 #define punpckldq_m2r(var,reg) mmx_m2r (punpckldq, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
185 #define punpckldq_r2r(regs,regd) mmx_r2r (punpckldq, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
186 #define punpcklwd_m2r(var,reg) mmx_m2r (punpcklwd, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
187 #define punpcklwd_r2r(regs,regd) mmx_r2r (punpcklwd, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
188
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
189 #define pxor_m2r(var,reg) mmx_m2r (pxor, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
190 #define pxor_r2r(regs,regd) mmx_r2r (pxor, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
191
986e461dc072 Initial revision
glantau
parents:
diff changeset
192
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
193 /* 3DNOW extensions */
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
194
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
195 #define pavgusb_m2r(var,reg) mmx_m2r (pavgusb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
196 #define pavgusb_r2r(regs,regd) mmx_r2r (pavgusb, regs, regd)
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
197
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
198
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
199 /* AMD MMX extensions - also available in intel SSE */
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
200
986e461dc072 Initial revision
glantau
parents:
diff changeset
201
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
202 #define mmx_m2ri(op,mem,reg,imm) \
8031
eebc7209c47f Convert asm keyword into __asm__.
flameeyes
parents: 7760
diff changeset
203 __asm__ volatile (#op " %1, %0, %%" #reg \
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
204 : /* nothing */ \
3578
e0fb0ff7c6a8 Fix building with --disable-opts but MMX enabled.
diego
parents: 3398
diff changeset
205 : "m" (mem), "i" (imm))
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
206 #define mmx_r2ri(op,regs,regd,imm) \
8031
eebc7209c47f Convert asm keyword into __asm__.
flameeyes
parents: 7760
diff changeset
207 __asm__ volatile (#op " %0, %%" #regs ", %%" #regd \
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
208 : /* nothing */ \
3578
e0fb0ff7c6a8 Fix building with --disable-opts but MMX enabled.
diego
parents: 3398
diff changeset
209 : "i" (imm) )
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
210
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
211 #define mmx_fetch(mem,hint) \
8031
eebc7209c47f Convert asm keyword into __asm__.
flameeyes
parents: 7760
diff changeset
212 __asm__ volatile ("prefetch" #hint " %0" \
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
213 : /* nothing */ \
3578
e0fb0ff7c6a8 Fix building with --disable-opts but MMX enabled.
diego
parents: 3398
diff changeset
214 : "m" (mem))
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
215
986e461dc072 Initial revision
glantau
parents:
diff changeset
216
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
217 #define maskmovq(regs,maskreg) mmx_r2ri (maskmovq, regs, maskreg)
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
218
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
219 #define movntq_r2m(mmreg,var) mmx_r2m (movntq, mmreg, var)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
220
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
221 #define pavgb_m2r(var,reg) mmx_m2r (pavgb, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
222 #define pavgb_r2r(regs,regd) mmx_r2r (pavgb, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
223 #define pavgw_m2r(var,reg) mmx_m2r (pavgw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
224 #define pavgw_r2r(regs,regd) mmx_r2r (pavgw, regs, regd)
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
225
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
226 #define pextrw_r2r(mmreg,reg,imm) mmx_r2ri (pextrw, mmreg, reg, imm)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
227
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
228 #define pinsrw_r2r(reg,mmreg,imm) mmx_r2ri (pinsrw, reg, mmreg, imm)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
229
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
230 #define pmaxsw_m2r(var,reg) mmx_m2r (pmaxsw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
231 #define pmaxsw_r2r(regs,regd) mmx_r2r (pmaxsw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
232
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
233 #define pmaxub_m2r(var,reg) mmx_m2r (pmaxub, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
234 #define pmaxub_r2r(regs,regd) mmx_r2r (pmaxub, regs, regd)
31
e4b7c3e5e527 updated mmx macros
glantau
parents: 0
diff changeset
235
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
236 #define pminsw_m2r(var,reg) mmx_m2r (pminsw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
237 #define pminsw_r2r(regs,regd) mmx_r2r (pminsw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
238
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
239 #define pminub_m2r(var,reg) mmx_m2r (pminub, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
240 #define pminub_r2r(regs,regd) mmx_r2r (pminub, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
241
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
242 #define pmovmskb(mmreg,reg) \
8031
eebc7209c47f Convert asm keyword into __asm__.
flameeyes
parents: 7760
diff changeset
243 __asm__ volatile ("movmskps %" #mmreg ", %" #reg)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
244
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
245 #define pmulhuw_m2r(var,reg) mmx_m2r (pmulhuw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
246 #define pmulhuw_r2r(regs,regd) mmx_r2r (pmulhuw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
247
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
248 #define prefetcht0(mem) mmx_fetch (mem, t0)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
249 #define prefetcht1(mem) mmx_fetch (mem, t1)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
250 #define prefetcht2(mem) mmx_fetch (mem, t2)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
251 #define prefetchnta(mem) mmx_fetch (mem, nta)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
252
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
253 #define psadbw_m2r(var,reg) mmx_m2r (psadbw, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
254 #define psadbw_r2r(regs,regd) mmx_r2r (psadbw, regs, regd)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
255
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
256 #define pshufw_m2r(var,reg,imm) mmx_m2ri(pshufw, var, reg, imm)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
257 #define pshufw_r2r(regs,regd,imm) mmx_r2ri(pshufw, regs, regd, imm)
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
258
8031
eebc7209c47f Convert asm keyword into __asm__.
flameeyes
parents: 7760
diff changeset
259 #define sfence() __asm__ volatile ("sfence\n\t")
434
d34dde800cca * avoids double inclusion of this header
kabi
parents: 31
diff changeset
260
1971
39f2ba94e09b add selected SSE2 ASM macros
melanson
parents: 434
diff changeset
261 /* SSE2 */
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
262 #define pshufhw_m2r(var,reg,imm) mmx_m2ri(pshufhw, var, reg, imm)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
263 #define pshufhw_r2r(regs,regd,imm) mmx_r2ri(pshufhw, regs, regd, imm)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
264 #define pshuflw_m2r(var,reg,imm) mmx_m2ri(pshuflw, var, reg, imm)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
265 #define pshuflw_r2r(regs,regd,imm) mmx_r2ri(pshuflw, regs, regd, imm)
1971
39f2ba94e09b add selected SSE2 ASM macros
melanson
parents: 434
diff changeset
266
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
267 #define pshufd_r2r(regs,regd,imm) mmx_r2ri(pshufd, regs, regd, imm)
1971
39f2ba94e09b add selected SSE2 ASM macros
melanson
parents: 434
diff changeset
268
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
269 #define movdqa_m2r(var,reg) mmx_m2r (movdqa, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
270 #define movdqa_r2m(reg,var) mmx_r2m (movdqa, reg, var)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
271 #define movdqa_r2r(regs,regd) mmx_r2r (movdqa, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
272 #define movdqu_m2r(var,reg) mmx_m2r (movdqu, var, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
273 #define movdqu_r2m(reg,var) mmx_r2m (movdqu, reg, var)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
274 #define movdqu_r2r(regs,regd) mmx_r2r (movdqu, regs, regd)
1971
39f2ba94e09b add selected SSE2 ASM macros
melanson
parents: 434
diff changeset
275
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
276 #define pmullw_r2m(reg,var) mmx_r2m (pmullw, reg, var)
1971
39f2ba94e09b add selected SSE2 ASM macros
melanson
parents: 434
diff changeset
277
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
278 #define pslldq_i2r(imm,reg) mmx_i2r (pslldq, imm, reg)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
279 #define psrldq_i2r(imm,reg) mmx_i2r (psrldq, imm, reg)
1971
39f2ba94e09b add selected SSE2 ASM macros
melanson
parents: 434
diff changeset
280
2979
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
281 #define punpcklqdq_r2r(regs,regd) mmx_r2r (punpcklqdq, regs, regd)
bfabfdf9ce55 COSMETICS: tabs --> spaces, some prettyprinting
diego
parents: 2958
diff changeset
282 #define punpckhqdq_r2r(regs,regd) mmx_r2r (punpckhqdq, regs, regd)
1971
39f2ba94e09b add selected SSE2 ASM macros
melanson
parents: 434
diff changeset
283
39f2ba94e09b add selected SSE2 ASM macros
melanson
parents: 434
diff changeset
284
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 6636
diff changeset
285 #endif /* AVCODEC_I386_MMX_H */