slothy-optimizer / slothy

Assembly super-optimization via constraint solving
https://slothy-optimizer.github.io/slothy/
Other
167 stars 10 forks source link

AAarch64 architectural model cannot handle immediates without # #69

Open mkannwischer opened 4 months ago

mkannwischer commented 4 months ago

Works fine:

ror sC1, sC1, #56

Breaks:

ror sC1, sC1, 56

I never really understood when I need an # in assembly, but this code definitely worked without #.