diff options
| author | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2019-01-18 15:17:17 +0000 |
|---|---|---|
| committer | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2019-01-18 15:17:17 +0000 |
| commit | 6bc26aaadaa6fa2134f8b4f4c9506215e42fbe2e (patch) | |
| tree | d4b2124f68837d6a5c516fb13dd8acb47603ef43 /llvm/docs | |
| parent | d1055737d265f7228fc122bed431a8079af0ccd3 (diff) | |
| download | bcm5719-llvm-6bc26aaadaa6fa2134f8b4f4c9506215e42fbe2e.tar.gz bcm5719-llvm-6bc26aaadaa6fa2134f8b4f4c9506215e42fbe2e.zip | |
[AMDGPU][MC][GFX8+][DISASSEMBLER] Corrected 1/2pi value for 64-bit operands
See bug 39332: https://bugs.llvm.org/show_bug.cgi?id=39332
Reviewers: artem.tamazov, arsenm
Differential Revision: https://reviews.llvm.org/D56794
llvm-svn: 351555
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/AMDGPUOperandSyntax.rst | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/llvm/docs/AMDGPUOperandSyntax.rst b/llvm/docs/AMDGPUOperandSyntax.rst index 51e477aca48..8713c72a253 100644 --- a/llvm/docs/AMDGPUOperandSyntax.rst +++ b/llvm/docs/AMDGPUOperandSyntax.rst @@ -523,22 +523,22 @@ Floating-point *inline constants* are converted to :ref:`expected operand type<amdgpu_syn_instruction_type>` as described :ref:`here<amdgpu_synid_fp_const_conv>`. - ================================== ===================================================== ================== - Value Note Availability - ================================== ===================================================== ================== - 0.0 The same as integer constant 0. All GPUs - 0.5 Floating-point constant 0.5 All GPUs - 1.0 Floating-point constant 1.0 All GPUs - 2.0 Floating-point constant 2.0 All GPUs - 4.0 Floating-point constant 4.0 All GPUs - -0.5 Floating-point constant -0.5 All GPUs - -1.0 Floating-point constant -1.0 All GPUs - -2.0 Floating-point constant -2.0 All GPUs - -4.0 Floating-point constant -4.0 All GPUs - 0.1592 1.0/(2.0*pi). Use only for 16-bit operands. GFX8, GFX9 - 0.15915494 1.0/(2.0*pi). Use only for 16- and 32-bit operands. GFX8, GFX9 - 0.159154943091895317852646485335 1.0/(2.0*pi). GFX8, GFX9 - ================================== ===================================================== ================== + ===================== ===================================================== ================== + Value Note Availability + ===================== ===================================================== ================== + 0.0 The same as integer constant 0. All GPUs + 0.5 Floating-point constant 0.5 All GPUs + 1.0 Floating-point constant 1.0 All GPUs + 2.0 Floating-point constant 2.0 All GPUs + 4.0 Floating-point constant 4.0 All GPUs + -0.5 Floating-point constant -0.5 All GPUs + -1.0 Floating-point constant -1.0 All GPUs + -2.0 Floating-point constant -2.0 All GPUs + -4.0 Floating-point constant -4.0 All GPUs + 0.1592 1.0/(2.0*pi). Use only for 16-bit operands. GFX8, GFX9 + 0.15915494 1.0/(2.0*pi). Use only for 16- and 32-bit operands. GFX8, GFX9 + 0.15915494309189532 1.0/(2.0*pi). GFX8, GFX9 + ===================== ===================================================== ================== .. WARNING:: GFX7 does not support inline constants for *f16* operands. |

