You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't worked out all the details yet, but for most instructions I think it will be possible to work around this by generating all possible values; with the exception of shuffle, worst case is only 16. We'll have to do some work parsing the assembly to deduplicate the results, but nothing too complex.
Shuffle is obviously the exception here, but that's nothing new. For that, I think the best option is just to link to Compiler Explorer and let people plug in their own values.
The text was updated successfully, but these errors were encountered:
I tihnk this is basically resolved by 2be4bca. We now try all possible values for the immediates, and merge implementations where the output differs only in by the value of an immediate parameter in the assembly. The code is a mess, but it seems to basically work.
For instructions with immediate-mode parameters, the compiler may generate different instruction(s). For example,
Compiler Explorer: https://godbolt.org/z/9beqbP4Wj
Generates:
I haven't worked out all the details yet, but for most instructions I think it will be possible to work around this by generating all possible values; with the exception of shuffle, worst case is only 16. We'll have to do some work parsing the assembly to deduplicate the results, but nothing too complex.
Shuffle is obviously the exception here, but that's nothing new. For that, I think the best option is just to link to Compiler Explorer and let people plug in their own values.
The text was updated successfully, but these errors were encountered: