Tizen 2.0 Release
[framework/multimedia/gst-plugins-good0.10.git] / gst / deinterlace / tvtime / x86-64_macros.inc
1 /*
2  *
3  * GStreamer
4  * Copyright (C) 2004 Dirk Ziegelmeier <dziegel@gmx.de>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22 /*
23  * 
24  * See: http://bugzilla.gnome.org/show_bug.cgi?id=163578
25  */
26
27 /*
28  * This file is copied from TVTIME's sources.
29  * Original author: Achim Schneider <batchall@mordor.ch>
30  */
31
32 #ifdef HAVE_CONFIG_H
33 #include "config.h"
34 #endif
35
36 #ifndef XAX
37
38 #if defined (HAVE_CPU_I386) && !defined(HAVE_CPU_X86_64)
39
40 #define XAX   "eax"
41 #define XBX   "ebx"
42 #define XCX   "ecx"
43 #define XDX   "edx"
44 #define XSI   "esi"
45 #define XDI   "edi"
46 #define XSP   "esp"
47 #define MOVX  "movl"
48 #define LEAX  "leal"
49 #define DECX  "decl"
50 #define PUSHX "pushl"
51 #define POPX  "popl"
52 #define CMPX  "cmpl"
53 #define ADDX  "addl"
54 #define SHLX  "shll"
55 #define SHRX  "shrl"
56 #define SUBX  "subl"
57
58 #elif defined (HAVE_CPU_X86_64)
59
60 #define XAX   "rax"
61 #define XBX   "rbx"
62 #define XCX   "rcx"
63 #define XDX   "rdx"
64 #define XSI   "rsi"
65 #define XDI   "rdi"
66 #define XSP   "rsp"
67 #define MOVX  "movq"
68 #define LEAX  "leaq"
69 #define DECX  "decq"
70 #define PUSHX "pushq"
71 #define POPX  "popq"
72 #define CMPX  "cmpq"
73 #define ADDX  "addq"
74 #define SHLX  "shlq"
75 #define SHRX  "shrq"
76 #define SUBX  "subq"
77
78 #else
79 #error Undefined architecture. Define either ARCH_X86 or ARCH_X86_64.
80 #endif
81
82 #endif