1 ;*****************************************************************************
2 ;* Copyright (C) 2005-2010 x264 project
4 ;* Authors: Loren Merritt <lorenm@u.washington.edu>
5 ;* Fiona Glaser <fiona@x264.com>
7 ;* This file is part of FFmpeg.
9 ;* FFmpeg is free software; you can redistribute it and/or
10 ;* modify it under the terms of the GNU Lesser General Public
11 ;* License as published by the Free Software Foundation; either
12 ;* version 2.1 of the License, or (at your option) any later version.
14 ;* FFmpeg is distributed in the hope that it will be useful,
15 ;* but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 ;* Lesser General Public License for more details.
19 ;* You should have received a copy of the GNU Lesser General Public
20 ;* License along with FFmpeg; if not, write to the Free Software
21 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 ;******************************************************************************
24 %include "x86util.asm"
28 ;-----------------------------------------------------------------------------
29 ; void ff_cpu_cpuid(int index, int *eax, int *ebx, int *ecx, int *edx)
30 ;-----------------------------------------------------------------------------
31 cglobal cpu_cpuid, 5,7
51 ;-----------------------------------------------------------------------------
52 ; void ff_cpu_xgetbv(int op, int *eax, int *edx)
53 ;-----------------------------------------------------------------------------
54 cglobal cpu_xgetbv, 3,7
66 ;-----------------------------------------------------------------------------
67 ; int ff_cpu_cpuid_test(void)
68 ; return 0 if unsupported
69 ;-----------------------------------------------------------------------------
70 cglobal cpu_cpuid_test