aboutsummaryrefslogtreecommitdiff
path: root/FeatureTest.md
diff options
context:
space:
mode:
authorLuke Wagner <mail@lukewagner.name>2015-10-15 17:16:20 -0500
committerLuke Wagner <mail@lukewagner.name>2015-10-15 17:16:20 -0500
commit2e1e1a478b5fea5ab73fe9369f087ebe89477e8a (patch)
tree31dade2341d33bb1bb62c2576d7ebc19a53b88aa /FeatureTest.md
parent86fc34120798c3897718db7ebaeb4ef717aba336 (diff)
downloadnanowasm-design-2e1e1a478b5fea5ab73fe9369f087ebe89477e8a.tar.gz
Fix wording, add link
Diffstat (limited to 'FeatureTest.md')
-rw-r--r--FeatureTest.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/FeatureTest.md b/FeatureTest.md
index 699d946..2b0aacf 100644
--- a/FeatureTest.md
+++ b/FeatureTest.md
@@ -56,10 +56,12 @@ To illustrate, consider 4 examples:
efficient polyfill (e.g., `f64x2`, which introduces both operators *and*
types), alternative algorithms need to be provided and selected at load time.
-As a hypothetical (not implemented) example of the SIMD example, the toolchain
-could provide a new function attribute that indicated that the function
-was a feature-dependent optimized version of another function (similar to
-`ifunc`s, but without the callback):
+As a hypothetical (not implemented) example polyfilling the SIMD `f64x2`
+feature, the C++ compiler could provide a new function attribute that indicated
+that one function was an optimized, but feature-dependent, version of another
+function (similar to the
+[`ifunc` attribute](https://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Function-Attributes.html#index-g_t_0040code_007bifunc_007d-attribute-2529),
+but without the callback):
```
#include <xmmintrin.h>
void foo(...) {