Skip to content

Choose target features - #5996

Merged
bors merged 2 commits into
rust-lang:incomingfrom
sanxiyn:target-feature
Apr 23, 2013
Merged

Choose target features#5996
bors merged 2 commits into
rust-lang:incomingfrom
sanxiyn:target-feature

Conversation

@sanxiyn

Copy link
Copy Markdown
Contributor

Fix#1879.

@sanxiyn

Copy link
Copy Markdown
ContributorAuthor

Given:

// test.rsfntest(a:float,b:float) -> float{ a * b }fnmain(){}
# On 32-bit x86, SSE2 is preferred if available
$ rustc -S test.rs -o - | grep mul
fmulp
$ rustc --target-feature +sse2 -S test.rs -o - | grep mul
mulsd

@borsbors closed this Apr 23, 2013
@bors
bors merged commit da4bc49 into rust-lang:incomingApr 23, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Sep 10, 2020
Allow GraphQL in docs without backticks
changelog: Allow "GraphQL" in [`doc_markdown`] without backticks.
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6307: Add whitelist of safe intrinsics r=frazar a=frazar
This PR should fixrust-lang#5996, where intrinsic operations where all marked as unsafe.
I'm rather new to this codebase, so I might be doing something *very* wrong. Please forgive me!
In particular, I'm not sure how to "check that we are in extern `rust-intrinsics`" as mentioned [in this comment](rust-lang/rust-analyzer#5996 (comment)). Co-authored-by: Francesco Zardi <frazar@users.noreply.github.com>
Sign up for freeto 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.

3 participants

@sanxiyn@graydon@bors