Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMD64 structs in registers problem #7

Open
GoogleCodeExporter opened this issue Jun 14, 2015 · 2 comments
Open

AMD64 structs in registers problem #7

GoogleCodeExporter opened this issue Jun 14, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

compare output of running daikon/tests/kvasir/tests/TypedefTest on x86 vs. 
amd64.  The later passes small structs in registers.  Current implementation of 
kvasir only assigns a single value tag field to an entire register.  Hence, 
when the struct is loaded into the register to pass as argument we mark all 
struct fields that happen to map to the same register as having an interaction 
when in fact they do not.  Test case needs to be modifed back to have first 
struct element (a) being an int instead of a long.  decls output will then show 
a and b in same compare set on amd64 but in separate sets on x86 (correctly).

This is a serious problem, but is part of the current design.  Fix will be a 
major work item.




Original issue reported on code.google.com by [email protected] on 5 Aug 2013 at 10:22

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 5 Aug 2013 at 10:25

  • Added labels: CPU-AMD-64

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 5 Aug 2013 at 10:33

  • Added labels: CPU-AMD64
  • Removed labels: CPU-AMD-64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant