initial commit: a mess of assembly code
[fmap.git] / x86_64_sse2_x87 / fmap.s
blob39f2d0855592a98cc67584a33db4933ac57fcfc8
1 ; vim: set filetype=fasm foldmethod=marker commentstring=;%s colorcolumn=101 :
2 define SYSTEM_LEGACY 1
3 ;***************************************************************************************************
4 include 'x64.inc'
5 if ~SYSTEM_LEGACY
6 include 'ext/movbe.inc'
7 include 'ext/avx2.inc'
8 else
9 include 'ext/ssse3.inc'
10 end if
11 include 'format/elf64.inc'
12 use64
13 ;***************************************************************************************************
14 define TRACE_DEBUG_ENABLED 0
15 define TRACE_GENERIC_ENABLED 0
16 define TRACE_NODE_IDX_ENABLED 0
17 define TRACE_WAYS_IDX_ENABLED 0
18 define TRACE_RELATIONS_IDX_ENABLED 0
19 define TRACE_RELATIONS_2ND_PASS_ENABLED 0
20 define TRACE_FEATURES_ENABLED 0
21 ;---------------------------------------------------------------------------------------------------
22 include 'util_macros.s'
23 ;***************************************************************************************************
24 include 'linux.s'
25 ;***************************************************************************************************
26 section '.text' executable writeable align 64
27 include 'libc/text.s'
28 include 'inflate/zlib/text.s'
29 include 'pbf/text.s'
30 include 'text.s'
31 ;***************************************************************************************************
32 section '.data' writeable align 64
33 include 'libc/data.s'
34 include 'inflate/zlib/data.s'
35 include 'pbf/data.s'
36 include 'data.s'
37 ;***************************************************************************************************
38 section '.bss' writeable align 64
39 include 'libc/bss.s'
40 include 'inflate/zlib/bss.s'
41 include 'pbf/bss.s'
42 include 'bss.s'