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

portlib.h #21

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

portlib.h #21

wants to merge 1 commit into from

Conversation

booshu
Copy link

@booshu booshu commented Jan 21, 2018

No description provided.

@jwakely
Copy link
Contributor

jwakely commented Feb 12, 2018

This is an unofficial mirror that nobody from the GCC project is involved with. Sending pull requests here is a waste of time.

Please see https://gcc.gnu.org/contribute.html for how to contribute to GCC, thanks.

(However, I have no idea what this patch is supposed to be for, and it doesn't look likely to be accepted.)

kraj pushed a commit to kraj/gcc that referenced this pull request Sep 4, 2020
This patch moves the move-immediate splitter after the regular ones so
that it has lower precedence, and updates its constraints.

For
int f3 (void) { return 0x11000000; }
int f3_2 (void) { return 0x12345678; }

we now generate:
* with -O2 -mcpu=cortex-m0 -mpure-code:
f3:
	movs    r0, #136
	lsls    r0, r0, gcc-mirror#21
	bx      lr
f3_2:
	movs    r0, gcc-mirror#18
	lsls    r0, r0, gcc-mirror#8
	adds    r0, r0, gcc-mirror#52
	lsls    r0, r0, gcc-mirror#8
	adds    r0, r0, gcc-mirror#86
	lsls    r0, r0, gcc-mirror#8
	adds    r0, r0, #121
	bx      lr

* with -O2 -mcpu=cortex-m23 -mpure-code:
f3:
	movs    r0, #136
	lsls    r0, r0, gcc-mirror#21
	bx      lr
f3_2:
	movw    r0, #22136
	movt    r0, 4660
	bx      lr

2020-09-04  Christophe Lyon  <christophe.lyon@linaro.org>

	PR target/96769
	gcc/
	* config/arm/thumb1.md: Move movsi splitter for
	arm_disable_literal_pool after the other movsi splitters.

	gcc/testsuite/
	* gcc.target/arm/pure-code/pr96769.c: New test.
farazs-github pushed a commit to MediaTek-Labs/gcc that referenced this pull request May 21, 2023
gcc/testsuite/

	* gcc.target/nanomips/nanomips-module-default-pic1.c:
	Skip if -fPIC passed.
aurxenon pushed a commit to aurxenon/gcc that referenced this pull request Sep 11, 2023
Add `pure` attribute support in libgccjit
NinaRanns pushed a commit to NinaRanns/gcc that referenced this pull request Sep 25, 2024
…f-wrapper-obj-returns

c++, contracts: Handle object returns in the virtual fn wrapper.
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.

2 participants