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

Cherrypick move optimization patch from upstream #34

Open
wants to merge 1 commit into
base: pstl
Choose a base branch
from

Conversation

linehill
Copy link

Cherrypick move optimization patch needed for hsacaffe for performance. I tried earlier to pull all changes from trunk-updates to pstl branch, but it broke directhsa (phsa finalizer hangs for a long time and is killed eventually).

The patch message:
[BRIGFE] Reduce the number of type conversions due tothe untyped HSAIL regs.

Instead of always representing the HSAIL's untyped registers as
unsigned int, the gccbrig now pre-analyzes the BRIG code and
builds the register variables as a type used the most when storing
or reading data to/from each register. This reduces the total
conversions which cannot be always optimized away.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254837 138bc75d-0d04-0410-961f-82ee72b054a4

the untyped HSAIL regs.

Instead of always representing the HSAIL's untyped registers as
unsigned int, the gccbrig now pre-analyzes the BRIG code and
builds the register variables as a type used the most when storing
or reading data to/from each register. This reduces the total
conversions which cannot be always optimized away.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254837 138bc75d-0d04-0410-961f-82ee72b054a4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant