Mercurial > libavcodec.hg
comparison i386/mmx.h @ 434:d34dde800cca libavcodec
* avoids double inclusion of this header
(how about making all headers in ffmpeg working this way ?)
author | kabi |
---|---|
date | Mon, 27 May 2002 08:31:54 +0000 |
parents | e4b7c3e5e527 |
children | 39f2ba94e09b |
comparison
equal
deleted
inserted
replaced
433:133d2867d4b2 | 434:d34dde800cca |
---|---|
1 /* | 1 /* |
2 * mmx.h | 2 * mmx.h |
3 * Copyright (C) 1997-2001 H. Dietz and R. Fisher | 3 * Copyright (C) 1997-2001 H. Dietz and R. Fisher |
4 */ | 4 */ |
5 #ifndef AVCODEC_I386MMX_H | |
6 #define AVCODEC_I386MMX_H | |
5 | 7 |
6 /* | 8 /* |
7 * The type of an value that fits in an MMX register (note that long | 9 * The type of an value that fits in an MMX register (note that long |
8 * long constant values MUST be suffixed by LL and unsigned long long | 10 * long constant values MUST be suffixed by LL and unsigned long long |
9 * values by ULL, lest they be truncated by the compiler) | 11 * values by ULL, lest they be truncated by the compiler) |
235 | 237 |
236 #define pshufw_m2r(var,reg,imm) mmx_m2ri(pshufw, var, reg, imm) | 238 #define pshufw_m2r(var,reg,imm) mmx_m2ri(pshufw, var, reg, imm) |
237 #define pshufw_r2r(regs,regd,imm) mmx_r2ri(pshufw, regs, regd, imm) | 239 #define pshufw_r2r(regs,regd,imm) mmx_r2ri(pshufw, regs, regd, imm) |
238 | 240 |
239 #define sfence() __asm__ __volatile__ ("sfence\n\t") | 241 #define sfence() __asm__ __volatile__ ("sfence\n\t") |
242 | |
243 #endif /* AVCODEC_I386MMX_H */ |