Changeset 96377 in vbox
- Timestamp:
- Aug 20, 2022 4:05:24 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstIEMAImplDataSseBinary.S
r96352 r96377 34 34 .globl NAME(g_aTests_ ## a_Instr) \ 35 35 NAME(g_aTests_ ## a_Instr): \ 36 .incbin #a_DataFile \36 .incbin a_DataFile \ 37 37 end_g_aTests_ ## a_Instr: \ 38 38 .p2align 2 \ … … 43 43 .type g_aTests_ ## a_Instr, object \ 44 44 .size g_cbTests_ ## a_Instr, 4 \ 45 .type g_cbTests_ ## a_Instr, object \45 .type g_cbTests_ ## a_Instr, object 46 46 #else 47 # define IEM_TEST_DATA(a_Instr, a_DataFile) \ 48 .p2align 6 \ 49 .globl NAME(g_aTests_ ## a_Instr) \ 50 NAME(g_aTests_ ## a_Instr): \ 51 .incbin # a_DataFile \ 52 end_g_aTests_ ## a_Instr: \ 53 .p2align 2 \ 54 .globl NAME(g_cbTests_ ## a_Instr) \ 55 NAME(g_cbTests_ ## a_Instr): \ 56 .long end_g_aTests_ ## a_Instr - NAME(g_aTests_ ## a_Instr) 47 /* A macro in the style of the ELF one above does not work for clang/cc1as due 48 to lack of proper newlines. So, use an assembler macro instead. */ 49 .macro IEM_TEST_DATA_MACRO a_Instr, a_szDataFile 50 .p2align 6 51 .globl NAME(g_aTests_\a_Instr) 52 NAME(g_aTests_\a_Instr): 53 .incbin "\a_szDataFile" 54 NAME(g_aTests_end_\a_Instr): 55 56 .p2align 2 57 .globl NAME(g_cbTest_\a_Instr) 58 NAME(g_cbTest_\a_Instr): 59 .int NAME(g_aTests_end_\a_Instr) - NAME(g_aTests_\a_Instr) 60 .endm 61 # define IEM_TEST_DATA(a,b) IEM_TEST_DATA_MACRO a, b 57 62 #endif 58 63
Note:
See TracChangeset
for help on using the changeset viewer.