Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine subsequent Iconst_symbol instructions #5412

Closed
vicuna opened this Issue Dec 1, 2011 · 2 comments

Comments

Projects
None yet
1 participant
@vicuna
Copy link
Collaborator

vicuna commented Dec 1, 2011

Original bug ID: 5412
Reporter: meurer
Status: closed (set by @xavierleroy on 2015-12-11T18:28:08Z)
Resolution: fixed
Priority: normal
Severity: feature
Version: 3.12.1
Fixed in version: 4.02.0+dev
Category: ~DO NOT USE (was: OCaml general)
Tags: patch
Monitored by: @hcarty

Bug description

This patch helps to reduce code size on load/store architectures (i.e. ARM) and with position independent code on amd64/i386, mostly for the generated __entry functions, which are usually up to 10-20% shorter (depending on arch).

File attachments

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Jan 31, 2012

Comment author: @xavierleroy

I've been working on a common subexpression elimination pass for the OCaml back-end, which, if successful, should subsume the factoring of Iconst_symbol instructions proposed here. The CSE is in branch branches/backend-optims of the OCaml SVN. Performance gains (on AMD64) are unimpressive so far, but I continue experimental evaluation in my spare time. To be continued.

@vicuna

This comment has been minimized.

Copy link
Collaborator Author

vicuna commented Apr 26, 2014

Comment author: @xavierleroy

CSE optimization is now in trunk, and I believe it achieves similar results. (Observed on amd64, to be checked on ARM.)

@vicuna vicuna closed this Dec 11, 2015

@vicuna vicuna added the feature-wish label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.