gematria
gematria copied to clipboard
Machine learning for machine code.
This patch adds support for emitting loop register annotations for performing benchmarking in loop mode. Tests are added in addition to new flags to control the functionality where appropriate.
Needs some work. Currently just opening this as a placeholder. Fixes #57.
Main goals are to: 1) see what's missing. 2) fix what's missing so we have a complete testbed others can use (basically llvm-cm plugin) We can start with @boomanaiden154 's...
This patch adds in a script to produce a vocab file from a dataset that can then be used to train ML models requiring a list of vocab words to...
Fixes #108
This patch adds a new `basic_block_utils` library that will be extended in subsequent patches to add additional functionality necessary for processing datasets of basic blocks. Currently, `BasicBlockUtils::getUsedRegisters` is implemented for...
Traceback: ``` Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/tensorflow/python/client/session.py", line 1379, in _do_call return fn(*args) ^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/tensorflow/python/client/session.py", line 1362, in _run_fn return self._call_tf_sessionrun(options, feed_dict, fetch_list, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/tensorflow/python/client/session.py", line...
This patch makes the BHive to Exegesis conversion script only include definitions for registers needed by the snippet rather than a random set. This makes the outputs cleaner and will...
* JSON datasets, while not very useful otherwise, being easy to read are handy for debugging while also being rich enough to store extra, possibly nested, data such as instruction...