mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-07 10:54:01 +00:00
a1be5d69df
Summary: This patch implements the `fgets`, `getc`, `fgetc`, and `getchar` functions on the GPU. Their implementations are straightforward enough. One thing worth noting is that the implementation of `fgets` will be extremely slow due to the high latency to read a single char. A faster solution would be to make a new RPC call to call `fgets` (due to the special rule that newline or null breaks the stream). But this is left out because performance isn't the primary concern here. |
||
---|---|---|
.. | ||
buildbot | ||
gpu | ||
HdrGen | ||
LibcTableGenUtil | ||
mathtools | ||
MPFRWrapper | ||
CMakeLists.txt |