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);
Lines 40 ... 49 are skipped.
50 __m64 _m_pmulhrw(__m64, __m64);
51 void _m_prefetch(void*);
52 void _m_prefetchw(volatile const void*_Source);
53
54 __m64 _m_from_float(float);
55 float _m_to_float(__m64);
56
57 /* Athlon DSP intrinsics */
58
59 __m64 _m_pf2iw(__m64);
60 __m64 _m_pfnacc(__m64, __m64);
61 __m64 _m_pfpnacc(__m64, __m64);
62 __m64 _m_pi2fw(__m64);
63 __m64 _m_pswapd(__m64);
64
65 #if defined __cplusplus
66 }; /* End "C" */
67 #endif /* __cplusplus */
68
69 #endif
70 #endif
71