Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Rewrite subtarget feature support #57

Closed
dylanmckay opened this issue Mar 8, 2015 · 3 comments
Closed

Rewrite subtarget feature support #57

dylanmckay opened this issue Mar 8, 2015 · 3 comments
Labels

Comments

@dylanmckay
Copy link
Member

Rewrite subtarget feature code so that it works correctly.

@dylanmckay
Copy link
Member Author

A hierarchy needs to be identified. We cannot have a predicate for every register and every function, and manually add each one by enumerating the datasheet for every MCU.

Patterns need to be identified

  • Do all MCUs with SRAM have push/pop/etc?
  • Does the presence of MUL imply MULS and MULSU?
  • Does MUL[s][u] imply FMUL[s][u]?`

Does AVR-GCC's license allow us to use their subtarget feature code as a resource/reference?

@dylanmckay
Copy link
Member Author

Resources:

@dylanmckay
Copy link
Member Author

I have documented the inheritance tree here.

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

No branches or pull requests

1 participant