Skip to content
This repository has been archived by the owner. It is now read-only.

Do not enable SSE3 globally #41

Merged
merged 1 commit into from Nov 18, 2014
Merged

Do not enable SSE3 globally #41

merged 1 commit into from Nov 18, 2014

Conversation

@mrobinson
Copy link
Member

mrobinson commented Nov 18, 2014

Instead of enabling SSE3 instructions globally, only use it for files
that specifically require those instructions. Skia will call that code
based on a runtime check of processor features. Instead enable SSE2
globally except for opts_check_SSE2.cpp which requires extensions to be
disabled to properly check processor features.

Also fix a typo in the detection of i686, TARTET -> TARGET.

Fixes #39.

Instead of enabling SSE3 instructions globally, only use it for files
that specifically require those instructions. Skia will call that code
based on a runtime check of processor features. Instead enable SSE2
globally except for opts_check_SSE2.cpp which requires extensions to be
disabled to properly check processor features.

Also fix a typo in the detection of i686, TARTET -> TARGET.

Fixes #39.
@mrobinson
Copy link
Member Author

mrobinson commented Nov 18, 2014

I managed to fix this in parallel to #40, because I hadn't seen it. The two PRs are similar though this one is slightly more complete and will match the updated Skia more closely.

@metajack

This comment has been minimized.

Copy link

metajack commented on 4978fc7 Nov 18, 2014

r+

metajack added a commit that referenced this pull request Nov 18, 2014
Do not enable SSE3 globally
@metajack metajack merged commit 0b9fb70 into servo:master Nov 18, 2014
@mrobinson mrobinson deleted the mrobinson:fix-sse branch Nov 18, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.