encode2: Add new encoder API, one func per instr.
This is an *experimental* (read: unstable) API which exposes encoding functionality as one function per instruction. This makes the encoding process itself significantly faster, at the cost of a much larger binary size (~1 MiB of code, no data) and much higher compilation time.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
project('fadec', ['c'], default_options: ['warning_level=3', 'c_std=c99'],
|
||||
project('fadec', ['c'], default_options: ['warning_level=3', 'c_std=c11'],
|
||||
meson_version: '>=0.40')
|
||||
|
||||
python3 = find_program('python3')
|
||||
@@ -45,6 +45,11 @@ if get_option('with_encode')
|
||||
headers += files('fadec-enc.h')
|
||||
sources += files('encode.c')
|
||||
endif
|
||||
if get_option('with_encode2')
|
||||
components += 'encode2'
|
||||
headers += files('fadec-enc2.h')
|
||||
sources += files('encode2.c')
|
||||
endif
|
||||
|
||||
generate_args = []
|
||||
if get_option('archmode') != 'only64'
|
||||
|
||||
Reference in New Issue
Block a user