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

Move all register allocations out of the asm_href loop #73

Closed
wants to merge 1 commit into from
Closed

Move all register allocations out of the asm_href loop #73

wants to merge 1 commit into from

Conversation

siddhesh
Copy link
Collaborator

Register allocations inline while emitting HREF loop code is hazardous
because a spill would mean a load or remat generated in the loop body.

Register allocations inline while emitting HREF loop code is hazardous
because a spill would mean a load or remat generated in the loop body.
@agentzh
Copy link
Member

agentzh commented Sep 2, 2019

@siddhesh Merged with the extra commit log note "This work was sponsored by OpenResty Inc." :)

Many thanks!

@agentzh agentzh closed this Sep 2, 2019
@agentzh
Copy link
Member

agentzh commented Sep 2, 2019

Just for the record, this bug led to Lua if statements not entered even when the condition is true when fuzzing our ylang compiler on aarch64 centos 7. And random seed numbers had to be used to feed the API function jit.prngstate to reproduce this more frequently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants