| OLD | NEW |
| 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 | 384 |
| 385 Auto-vectorization is currently not enabled for Portable Native Client, | 385 Auto-vectorization is currently not enabled for Portable Native Client, |
| 386 but will be in a future release. | 386 but will be in a future release. |
| 387 | 387 |
| 388 Undefined Behavior | 388 Undefined Behavior |
| 389 ================== | 389 ================== |
| 390 | 390 |
| 391 The C and C++ languages expose some undefined behavior which is | 391 The C and C++ languages expose some undefined behavior which is |
| 392 discussed in :ref:`PNaCl Undefined Behavior <undefined_behavior>`. | 392 discussed in :ref:`PNaCl Undefined Behavior <undefined_behavior>`. |
| 393 | 393 |
| 394 .. _c_cpp_floating_point: |
| 395 |
| 394 Floating-Point | 396 Floating-Point |
| 395 ============== | 397 ============== |
| 396 | 398 |
| 397 PNaCl exposes 32-bit and 64-bit floating point operations which are | 399 PNaCl exposes 32-bit and 64-bit floating point operations which are |
| 398 mostly IEEE-754 compliant. There are a few caveats: | 400 mostly IEEE-754 compliant. There are a few caveats: |
| 399 | 401 |
| 400 * Some :ref:`floating-point behavior is currently left as undefined | 402 * Some :ref:`floating-point behavior is currently left as undefined |
| 401 <undefined_behavior_fp>`. | 403 <undefined_behavior_fp>`. |
| 402 * The default rounding mode is round-to-nearest and other rounding modes | 404 * The default rounding mode is round-to-nearest and other rounding modes |
| 403 are currently not usable, which isn't IEEE-754 compliant. PNaCl could | 405 are currently not usable, which isn't IEEE-754 compliant. PNaCl could |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 A similar feature is **thread suspension**: The ability to | 469 A similar feature is **thread suspension**: The ability to |
| 468 asynchronously suspend and resume a thread and inspect or modify its | 470 asynchronously suspend and resume a thread and inspect or modify its |
| 469 execution state (such as register state). | 471 execution state (such as register state). |
| 470 | 472 |
| 471 Neither PNaCl nor NaCl currently support asynchronous interruption | 473 Neither PNaCl nor NaCl currently support asynchronous interruption |
| 472 or suspension of threads. | 474 or suspension of threads. |
| 473 | 475 |
| 474 If PNaCl were to support either of these, the interaction of | 476 If PNaCl were to support either of these, the interaction of |
| 475 ``volatile`` and atomics with same-thread signal handling would need | 477 ``volatile`` and atomics with same-thread signal handling would need |
| 476 to be carefully detailed. | 478 to be carefully detailed. |
| OLD | NEW |