mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
[libc] Add GPU config file using the new format (#66635)
Summary: This patch copies a config file for the GPU similar to the baremetal/embedded implementation. This will configure the implementations of functions like `sprintf` and `snprintf` to be compiled into more simple versions that can be run on the GPU. These functions cannot be enabled yet as Vararg support hasn't landed, but it will be used then.
This commit is contained in:
parent
99a54b839a
commit
b8f64431ea
16
libc/config/gpu/config.json
Normal file
16
libc/config/gpu/config.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"printf": {
|
||||
"LIBC_CONF_PRINTF_DISABLE_FLOAT": {
|
||||
"value": true
|
||||
},
|
||||
"LIBC_CONF_PRINTF_DISABLE_INDEX_MODE": {
|
||||
"value": true
|
||||
},
|
||||
"LIBC_CONF_PRINTF_DISABLE_WRITE_INT": {
|
||||
"value": true
|
||||
},
|
||||
"LIBC_CONF_PRINTF_FLOAT_TO_STR_USE_MEGA_LONG_DOUBLE_TABLE": {
|
||||
"value": false
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user