|
|
|
| 1 |
|
/** |
| 2 |
|
*** Copyright (C) 1999 Advanced Micro Devices Inc. All rights reserved. |
| 3 |
|
*** |
| 4 |
|
*** The information and source code contained herein is the exclusive |
| 5 |
|
*** property of Advanced Micro Devices and may not be disclosed, examined |
| 6 |
|
*** or reproduced in whole or in part without explicit written authorization |
| 7 |
|
*** from the company. |
| 8 |
|
*** |
| 9 |
|
**/ |
| 10 |
|
|
| 11 |
|
/* |
| 12 |
|
* mm3dnow.h |
| 13 |
|
* |
| 14 |
|
*/ |
| 15 |
|
|
| 16 |
|
#pragma once |
| 17 |
|
#ifndef __midl |
| 18 |
|
#ifndef _MM3DNOW_H_INCLUDED |
| 19 |
|
#define _MM3DNOW_H_INCLUDED |
| 20 |
|
|
| 21 |
|
#include <crtdefs.h> |
| 22 |
|
#include <mmintrin.h> |
| 23 |
|
#include <xmmintrin.h> |
| 24 |
|
|
| 25 |
|
#if defined __cplusplus |
| 26 |
|
extern "C" { /* Intrinsics use C name-mangling. */ |
| 27 |
|
#endif /* __cplusplus */ |
| 28 |
|
|
| 29 |
|
/* 3DNOW intrinsics */ |
| 30 |
|
|
| 31 |
|
void _m_femms(void); |
| 32 |
|
__m64 _m_pavgusb(__m64, __m64); |
| 33 |
|
__m64 _m_pf2id(__m64); |
| 34 |
|
__m64 _m_pfacc(__m64, __m64); |
| 35 |
|
__m64 _m_pfadd(__m64, __m64); |
| 36 |
|
__m64 _m_pfcmpeq(__m64, __m64); |
| 37 |
|
__m64 _m_pfcmpge(__m64, __m64); |
| 38 |
|
__m64 _m_pfcmpgt(__m64, __m64); |
| 39 |
|
__m64 _m_pfmax(__m64, __m64); |