yangshuo0323 opened a new issue #8298:
URL: https://github.com/apache/tvm/issues/8298
For example:
1. use this case: `tests/python/unittest/test_target_codegen_x86.py`:
only execute one func `fp16_to_fp32("llvm -mcpu=skylake-avx512", 15,
match="vcvtph2ps.*mm")` in this file.
in x86_64 platform: `$ python test_target_codegen_x86.py`
2. Add code `print(f.get_source("asm"))` in the test file, I printed out the
result code:
part of the code:
```
.text
.file "TVMMod"
.globl default_function
.p2align 4, 0x90
.type default_function,@function
default_function:
.Lfunc_begin0:
.cfi_startproc
pushq %rax
...
.Linfo_string0:
.asciz "TVM"
.Linfo_string1:
.asciz "model.tvm"
.Linfo_string2:
.asciz "/tmp/"
.section .debug_pubnames,"",@progbits
.long .LpubNames_end0-.LpubNames_begin0
.LpubNames_begin0:
.short 2
.long .Lcu_begin0
.long 38
.long 0
.LpubNames_end0:
.section .debug_pubtypes,"",@progbits
.long .LpubTypes_end0-.LpubTypes_begin0
.LpubTypes_begin0:
.short 2
.long .Lcu_begin0
.long 38
.long 0
.LpubTypes_end0:
.section ".note.GNU-stack","",@progbits
.section .debug_line,"",@progbits
.Lline_table_start0:
```
This code is assembly code, but how do I get the final binary code ? thanks
in advance.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]