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

Fix typo in String.swift documentation #32

Merged
merged 1 commit into from
Dec 3, 2015
Merged

Fix typo in String.swift documentation #32

merged 1 commit into from
Dec 3, 2015

Conversation

ravron
Copy link

@ravron ravron commented Dec 3, 2015

NSSString -> NSString

tkremenek added a commit that referenced this pull request Dec 3, 2015
Fix typo in String.swift documentation
@tkremenek tkremenek merged commit 7f4351e into swiftlang:master Dec 3, 2015
lorentey pushed a commit to lorentey/swift that referenced this pull request Oct 11, 2018
Add benchmarks and tests for the normalized iterator
lorentey pushed a commit to lorentey/swift that referenced this pull request Oct 17, 2018
Add benchmarks and tests for the normalized iterator
lorentey pushed a commit to lorentey/swift that referenced this pull request Oct 23, 2018
Add benchmarks and tests for the normalized iterator
lorentey pushed a commit to lorentey/swift that referenced this pull request Oct 29, 2018
Add benchmarks and tests for the normalized iterator
milseman pushed a commit that referenced this pull request Nov 5, 2018
Add benchmarks and tests for the normalized iterator
slavapestov pushed a commit to slavapestov/swift that referenced this pull request Nov 27, 2018
Bug fix in testing of return code of sem_timedwait
slavapestov pushed a commit to slavapestov/swift that referenced this pull request Nov 27, 2018
Bug fix in testing of return code of sem_timedwait

Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
MaxDesiatov pushed a commit to MaxDesiatov/swift that referenced this pull request May 1, 2020
[pull] swiftwasm from apple:master
maldahleh pushed a commit to maldahleh/swift that referenced this pull request Oct 26, 2020
Reimplement SyntaxVisitor to improve visiting performance.
stephentyrone added a commit to stephentyrone/swift that referenced this pull request Jun 14, 2021
Previously we were falling back on the generic implementation for 64b integers, which resulted in the following codegen:

00000008	asr	x8, x0, swiftlang#32
0000000c	asr	x9, x0, swiftlang#63
00000010	cmp	x0, #0x0
00000014	cinv	w10, w0, lt
00000018	eor	w9, w10, w9
0000001c	asr	x10, x1, swiftlang#32
00000020	asr	x11, x1, swiftlang#63
00000024	cmp	x1, #0x0
00000028	cinv	w12, w1, lt
0000002c	eor	w11, w12, w11
00000030	umull	x12, w11, w9
00000034	mul	x11, x11, x8
00000038	add	x11, x11, x12, lsr swiftlang#32
0000003c	asr	x12, x11, swiftlang#63
00000040	cmp	x11, #0x0
00000044	cinv	w13, w11, lt
00000048	eor	w12, w13, w12
0000004c	madd	x9, x9, x10, x12
00000050	mul	x8, x10, x8
00000054	add	x8, x8, x11, asr swiftlang#32
00000058	add	x0, x8, x9, asr swiftlang#32
0000005c	ret

Instead, we should use the 64b implementation when targeting arm64_32, which allows us to generate:

00000008	smulh	x0, x1, x0
0000000c	ret

Unsurprisingly, this is considerably faster.
stephentyrone added a commit that referenced this pull request Jun 15, 2021
)

Previously we were falling back on the generic implementation for 64b integers, which resulted in the following codegen:

00000008	asr	x8, x0, #32
0000000c	asr	x9, x0, #63
00000010	cmp	x0, #0x0
00000014	cinv	w10, w0, lt
00000018	eor	w9, w10, w9
0000001c	asr	x10, x1, #32
00000020	asr	x11, x1, #63
00000024	cmp	x1, #0x0
00000028	cinv	w12, w1, lt
0000002c	eor	w11, w12, w11
00000030	umull	x12, w11, w9
00000034	mul	x11, x11, x8
00000038	add	x11, x11, x12, lsr #32
0000003c	asr	x12, x11, #63
00000040	cmp	x11, #0x0
00000044	cinv	w13, w11, lt
00000048	eor	w12, w13, w12
0000004c	madd	x9, x9, x10, x12
00000050	mul	x8, x10, x8
00000054	add	x8, x8, x11, asr #32
00000058	add	x0, x8, x9, asr #32
0000005c	ret

Instead, we should use the 64b implementation when targeting arm64_32, which allows us to generate:

00000008	smulh	x0, x1, x0
0000000c	ret

Unsurprisingly, this is considerably faster.
freak4pc pushed a commit to freak4pc/swift that referenced this pull request Sep 28, 2022
DougGregor pushed a commit to DougGregor/swift that referenced this pull request Apr 28, 2024
motivation: make it easier to run the build

changes:
* use docker-compose to orchestrate the build
* udpate docker file to only be focused on basic build requirments
* expand build_rpm.sh to do the build end-to-end
* update readme with details on how to use the new setup
DougGregor pushed a commit to DougGregor/swift that referenced this pull request Apr 28, 2024
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

2 participants