diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-01-15 16:42:14 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-01-15 16:42:14 +0000 |
commit | 3419d7cd2e4a4dcd2a88381deb5d83eb946a2b93 (patch) | |
tree | 37fc0f5edfb86c8d5871af26ff8063bc58d4a3f6 /docs/LanguageExtensions.html | |
parent | da90c77753f154014daca79e24e1bbabb4612dcf (diff) |
Tweak markup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LanguageExtensions.html')
-rw-r--r-- | docs/LanguageExtensions.html | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/docs/LanguageExtensions.html b/docs/LanguageExtensions.html index 5ba2c9711d..7b832bab92 100644 --- a/docs/LanguageExtensions.html +++ b/docs/LanguageExtensions.html @@ -11,6 +11,7 @@ td { vertical-align: top; } + th { background-color: #ffddaa; } </style> </head> <body> @@ -386,9 +387,9 @@ is used in the file argument.</p> <p>Supports the GCC, OpenCL, AltiVec and NEON vector extensions.</p> -OpenCL vector types are created using <tt>ext_vector_type</tt> attribute. It -support for V.xyzw syntax and other tidbits as seen in OpenCL. An example -is:</p> +<p>OpenCL vector types are created using <tt>ext_vector_type</tt> attribute. It +support for <tt>V.xyzw</tt> syntax and other tidbits as seen in OpenCL. An +example is:</p> <blockquote> <pre> @@ -404,10 +405,11 @@ float4 foo(float2 a, float2 b) { </pre> </blockquote> -<p>Query for this feature with __has_extension(attribute_ext_vector_type).</p> +<p>Query for this feature with +<tt>__has_extension(attribute_ext_vector_type)</tt>.</p> -<p>Giving -faltivec option to clang enables support for AltiVec vector syntax -and functions. For example:</p> +<p>Giving <tt>-faltivec</tt> option to clang enables support for AltiVec vector +syntax and functions. For example:</p> <blockquote> <pre> @@ -474,11 +476,11 @@ specification.</p> <table width="500" border="1" cellspacing="0"> <tr> - <th bgcolor="#ffddaa">Operator</th> - <th bgcolor="#ffddaa">OpenCL</th> - <th bgcolor="#ffddaa">AltiVec</th> - <th bgcolor="#ffddaa">GCC</th> - <th bgcolor="#ffddaa">NEON</th> + <th>Operator</th> + <th>OpenCL</th> + <th>AltiVec</th> + <th>GCC</th> + <th>NEON</th> </tr> <tr> <td>[]</td> |