[llvm-commits] [patch] JITCodeEmitter speedup patch
Aaron Gray
aaronngray.lists at googlemail.com
Tue Jul 7 08:27:47 PDT 2009
You probably won't want this patch, premature optmization and all that, but
I will send it anyway as I had ti ready to send once the ObjectCodeEmitter
patch when in removing the cruft that was standing in the way
in MachineCodeEmitter.
It also has a extend() method for extending the buffer and continuing if th
buffer overfolws. And a reserveBytes that can be used in conjunction with
the raw*emit methods to allow a whole instruction to be output without any
buffer checking.
This patch relies on the generically parameterized *CodeEmitters for its
performance. And would its performance would be overridded buy the use of
vitutal methods for the emit methods.
Aaaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090707/4d56bb8a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JITCodeEmitter.patch
Type: application/octet-stream
Size: 9013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090707/4d56bb8a/attachment.obj>
More information about the llvm-commits
mailing list