Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Side by Side Diff: native_client_sdk/src/doc/reference/pnacl-c-cpp-language-support.rst

Issue 185653007: NaCl docs: update computed goto support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-upload Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « native_client_sdk/doc_generated/sitemap.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ============================ 1 ============================
2 PNaCl C/C++ Language Support 2 PNaCl C/C++ Language Support
3 ============================ 3 ============================
4 4
5 .. contents:: 5 .. contents::
6 :local: 6 :local:
7 :backlinks: none 7 :backlinks: none
8 :depth: 3 8 :depth: 3
9 9
10 Source language support 10 Source language support
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 PNaCl currently disallows them in the *pexe* because they aren't 218 PNaCl currently disallows them in the *pexe* because they aren't
219 supported on all platforms and can't realistically be 219 supported on all platforms and can't realistically be
220 emulated. PNaCl could (but currently doesn't) only generate them in 220 emulated. PNaCl could (but currently doesn't) only generate them in
221 the backend if fast-math were specified and the hardware supports 221 the backend if fast-math were specified and the hardware supports
222 the operation. 222 the operation.
223 * Transcendentals aren't exposed by PNaCl's ABI; they are part of the 223 * Transcendentals aren't exposed by PNaCl's ABI; they are part of the
224 math library that is included in the *pexe*. PNaCl could, but 224 math library that is included in the *pexe*. PNaCl could, but
225 currently doesn't, use hardware support if fast-math were provided 225 currently doesn't, use hardware support if fast-math were provided
226 in the *pexe*. 226 in the *pexe*.
227 227
228 Computed ``goto``
229 =================
230
231 PNaCl supports computed ``goto``, a non-standard extension to C used by
Mark Seaborn 2014/03/03 21:23:04 You could be more specific and say "GCC extension"
JF 2014/03/03 21:30:32 That's helpful, I added it. Thanks!
232 some interpreters, by lowering them to ``switch`` statements.
233
234 NaCl supports computed ``goto``.
235
228 Future Directions 236 Future Directions
229 ================= 237 =================
230 238
231 SIMD 239 SIMD
232 ---- 240 ----
233 241
234 PNaCl currently doesn't support SIMD. We plan to add SIMD support in the 242 PNaCl currently doesn't support SIMD. We plan to add SIMD support in the
235 very near future. 243 very near future.
236 244
237 NaCl supports SIMD. 245 NaCl supports SIMD.
(...skipping 28 matching lines...) Expand all
266 A similar feature is **thread suspension**: The ability to 274 A similar feature is **thread suspension**: The ability to
267 asynchronously suspend and resume a thread and inspect or modify its 275 asynchronously suspend and resume a thread and inspect or modify its
268 execution state (such as register state). 276 execution state (such as register state).
269 277
270 Neither PNaCl nor NaCl currently support asynchronous interruption 278 Neither PNaCl nor NaCl currently support asynchronous interruption
271 or suspension of threads. 279 or suspension of threads.
272 280
273 If PNaCl were to support either of these, the interaction of 281 If PNaCl were to support either of these, the interaction of
274 ``volatile`` and atomics with same-thread signal handling would need 282 ``volatile`` and atomics with same-thread signal handling would need
275 to be carefully detailed. 283 to be carefully detailed.
276
277 Computed ``goto``
278 -----------------
279
280 PNaCl currently doesn't support computed ``goto``, a non-standard
281 extension to C used by some interpreters.
282
283 NaCl supports computed ``goto``.
OLDNEW
« no previous file with comments | « native_client_sdk/doc_generated/sitemap.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698