Conversation
|
Discussed offline: my suggestion is to investigate the possibility of representing |
If I add in the |
[update]
In general, introducing |
|
I agree with Filippo's comment and eventually we need to add support for macros. I am happy to merge this for now (if you address my one comment) but there are several cases where macros could tidy up the conf file. |
You mean the clarification on the I totally agree here, it will be useful to
|
I see. So essentially we would need architecture-specific macro expansion, but as of now macros can only apply generally to all archs as part of an earlier pre-processing step. I'm fine with merging this for now (once @relokin and I are happy with the improved comments/documentation), but it would be great if we can revisit the macro implementation at some point. There are quite a few points in the code where we pattern match on edge constructors but |
1fc1576 to
a6846aa
Compare
I will work on this unification behind the scene as it is much more disrupted yet does not provide new functionality that needs to be merged in this pull request. Once I have a result, I will open a separate code improvement pull request. |
fsestini
left a comment
There was a problem hiding this comment.
A few minor suggestions.
7804d2d to
dbebf0d
Compare
relokin
left a comment
There was a problem hiding this comment.
I am really sorry but for some reason, I added my review without posting my one comment. Shale has changed the comment since I reviewed but I think my comment is still valid.
This wildcard unfold to `Amo.Cas` `Amo.Swp` `Amo.StAdd` and `Amo.LdAdd`.
relokin
left a comment
There was a problem hiding this comment.
Feel free to rebase, rework the history and merge!
Add a new wildcard
Amo.Safethat unfolds toAmo.CasAmo.SwpAmo.StAddandAmo.LdAdd. It corresponds theAmo.*that has no value collision problem, that is, there is distinct value different before and after theAmo.*operation whendiy7generates tests.