Last change
on this file since 104956 was 98103, checked in by vboxsync, 23 months ago |
Copyright year updates by scm.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id Revision
|
File size:
1.6 KB
|
Line | |
---|
1 | ; $Id: tstAsm.mac 98103 2023-01-17 14:15:46Z vboxsync $
|
---|
2 | ;; @file
|
---|
3 | ; Disassembly testcase - Common header for the xREG macros.
|
---|
4 | ;
|
---|
5 |
|
---|
6 | ;
|
---|
7 | ; Copyright (C) 2008-2023 Oracle and/or its affiliates.
|
---|
8 | ;
|
---|
9 | ; This file is part of VirtualBox base platform packages, as
|
---|
10 | ; available from https://www.virtualbox.org.
|
---|
11 | ;
|
---|
12 | ; This program is free software; you can redistribute it and/or
|
---|
13 | ; modify it under the terms of the GNU General Public License
|
---|
14 | ; as published by the Free Software Foundation, in version 3 of the
|
---|
15 | ; License.
|
---|
16 | ;
|
---|
17 | ; This program is distributed in the hope that it will be useful, but
|
---|
18 | ; WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | ; General Public License for more details.
|
---|
21 | ;
|
---|
22 | ; You should have received a copy of the GNU General Public License
|
---|
23 | ; along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | ;
|
---|
25 | ; SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | ;
|
---|
27 |
|
---|
28 | %if TEST_BITS == 64
|
---|
29 | %define xCB 8
|
---|
30 | %define xSP rsp
|
---|
31 | %define xBP rbp
|
---|
32 | %define xAX rax
|
---|
33 | %define xBX rbx
|
---|
34 | %define xCX rcx
|
---|
35 | %define xDX rdx
|
---|
36 | %define xDI rdi
|
---|
37 | %define xSI rsi
|
---|
38 | %endif
|
---|
39 | %if TEST_BITS == 32
|
---|
40 | %define xCB 4
|
---|
41 | %define xSP esp
|
---|
42 | %define xBP ebp
|
---|
43 | %define xAX eax
|
---|
44 | %define xBX ebx
|
---|
45 | %define xCX ecx
|
---|
46 | %define xDX edx
|
---|
47 | %define xDI edi
|
---|
48 | %define xSI esi
|
---|
49 | %endif
|
---|
50 | %if TEST_BITS == 16
|
---|
51 | %define xCB 2
|
---|
52 | %define xSP sp
|
---|
53 | %define xBP bp
|
---|
54 | %define xAX ax
|
---|
55 | %define xBX bx
|
---|
56 | %define xCX cx
|
---|
57 | %define xDX dx
|
---|
58 | %define xDI di
|
---|
59 | %define xSI si
|
---|
60 | %endif
|
---|
61 | %ifndef xCB
|
---|
62 | %error "TEST_BITS is missing or wrong."
|
---|
63 | %endif
|
---|
64 |
|
---|
65 | %if __YASM_VERSION_ID__ >= 001020001h ; v1.2.0.1 and greater, make sure to exclude v1.2.0.0.
|
---|
66 | %define pmulhrwa pmulhrw
|
---|
67 | %endif
|
---|
68 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.