mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 07:41:38 +00:00
Correcting several sphinx errors; should fix the LLVM documentation build.
llvm-svn: 294865
This commit is contained in:
parent
ff8bac19ca
commit
ae179535c0
@ -262,11 +262,12 @@ VOP_SDWA examples:
|
||||
For full list of supported instructions, refer to "Vector ALU instructions".
|
||||
|
||||
Trap Handler ABI
|
||||
--------------------------
|
||||
----------------
|
||||
The Trap Handler suppored is implemented differently based on the host OS. OS
|
||||
is obtained from the appropriate element of the target triple HSA OS:
|
||||
|
||||
.. code-block:: c++
|
||||
|
||||
enum TrapHandlerAbi {
|
||||
TrapHandlerAbiNone = 0,
|
||||
TrapHandlerAbiHsa = 1
|
||||
@ -276,10 +277,11 @@ is obtained from the appropriate element of the target triple HSA OS:
|
||||
return isAmdHsaOS() ? TrapHandlerAbiHsa : TrapHandlerAbiNone;
|
||||
}
|
||||
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
For HSA OS, a trap handler is always enabled and that the following S_TRAP immediate
|
||||
operand codes are supported:
|
||||
|
||||
.. code-block:: c++
|
||||
|
||||
enum TrapCode {
|
||||
TrapCodeBreakPoint = 0,
|
||||
TrapCodeLLVMTrap = 1,
|
||||
@ -296,7 +298,7 @@ handled same as llvm.trap.
|
||||
- 3: Used for HSA DEBUGTRAP. queue_ptr is in SGPR0-1, the user code is in VGPR0.
|
||||
|
||||
Graphics
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
^^^^^^^^
|
||||
For Graphics, S_ENDPGM is generated for llvm.trap. S_NOP is generated for
|
||||
llvm.debugtrap together with a warning that there is no trap handler installed.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user