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
better loop support #36
Comments
Thank you very much! Would really appreciate if you could create PR once you are happy with your changes. Please add C test sources to test/smoke_test to verify the changes proposed. I'll be happy to pull the changes up to master. |
Btw what is the reason for that huge map? MCInst doesn't contain the width information? |
Not at the time when I started the work. I did not see anything that indicates things have changed in that respect. |
Hmm odd how do they represent something like |
INC on memory is tricky though: llvm-mctoll/X86/X86MachineInstructionRaiser.cpp Line 1571 in 64f0e14
Operand 6 is "Metadata", 7 is register. If I add if (MI.getOperand(SrcOpIndex).isMetadata())
++SrcOpIndex; I get "Super register not found" |
Support for |
However, eventually, I really want to get rid of the burden of maintaining this table and replace its services using LLVM APIs or some other tblgen based utility. |
Thanks that helped! Trass3r@f100b2e
I experimented a bit with that (see my repo) but I think it would require some refactoring of the raise functions into something more generic working on general |
generalizing the code for NOT
Loops usually generate some inc/dec instructions instead of add when -Os is used:
The text was updated successfully, but these errors were encountered: