Hi,
This patch fixes the assembler to allow assembling a SVC instruction anywhere in an IT block and not only as the last instruction of said IT block.
Cheers,
Andre
Differential D37374
[PATCH][ARM] Enable the use of SVC anywhere in an IT block avieira on Sep 1 2017, 2:28 AM. Authored by
Details Hi, This patch fixes the assembler to allow assembling a SVC instruction anywhere in an IT block and not only as the last instruction of said IT block. Cheers,
Diff Detail
Event TimelineComment Actions LGTM. This looks like it should also apply to HVC and SMC, but they have different IT block behaviour (not predicable and only allowed as last instruction, respectively), which we already model correctly. Comment Actions Will be worth uploading the diff again with context git diff -U999999.
Comment Actions I moved the check into the existing isCall check and updated the comments. As for checking whether isCall makes sense for SVC, I think that should be done separately? I don't know exactly what other implications that may have. Comment Actions Folks, please refrain from approving your own patches minutes after posting. This is not how open source is done. If you need review, let people review your patches. Peter's comment is a clear example on why this is important. As a rule of thumb, we recommend waiting a few days before pinging the patch if there are no reviews and after a few pings, please contact the code owners directly, first via the review itself (using @), but also by email or IRC. If nothing works, raise the issue in the dev list. Comment Actions I'm ok with the proposed changes. I agree the SVC setting isCall is a much wider question than just this patch and shouldn't block it, however it would be worth having a think about though. As Renato suggests it would be good to wait for a couple of working days to see there are any comments from later timezones before committing. |