Message ID | 20191108105408.27584-1-richard.henderson@linaro.org |
---|---|
Headers | show |
Series | Implement asm flag outputs for arm + aarch64 | expand |
Richard Henderson <richard.henderson@linaro.org> writes: > I've put the implementation into config/arm/aarch-common.c, so > that it can be shared between the two targets. This required > a little bit of cleanup to the CC modes and constraints to get > the two targets to match up. > > I really should have done more than just x86 years ago, so that > it would be done now and I could just use it in the kernel... ;-) Thanks for doing this, looks great. Apart from the vc/vs thing you mentioned in the follow-up for 4/6, it looks like 4/6, 5/6 and 6/6 are missing "hs" and "lo". OK for aarch64 with those added. Richard
On 11/12/19 9:21 PM, Richard Sandiford wrote: > Apart from the vc/vs thing you mentioned in the follow-up for 4/6, > it looks like 4/6, 5/6 and 6/6 are missing "hs" and "lo". OK for > aarch64 with those added. Are those aliases for two of the other conditions? They're not in the list within the pseudocode for ConditionHolds in the ARM ARM. Which is what I was documenting to support... r~
Richard Henderson <richard.henderson@linaro.org> writes: > On 11/12/19 9:21 PM, Richard Sandiford wrote: >> Apart from the vc/vs thing you mentioned in the follow-up for 4/6, >> it looks like 4/6, 5/6 and 6/6 are missing "hs" and "lo". OK for >> aarch64 with those added. > > Are those aliases for two of the other conditions? They're not in the list > within the pseudocode for ConditionHolds in the ARM ARM. Which is what I was > documenting to support... Yeah, hs==cs and lo==cc. But I think they're commonly used, and are the natural choice if you're testing the result of an unsigned comparison. Richard