https://gcc.gnu.org/g:a2fe34e0b993d5fb879d75ddb42b24b45c4b7242

commit r14-9595-ga2fe34e0b993d5fb879d75ddb42b24b45c4b7242
Author: Andrew Stubbs <a...@baylibre.com>
Date:   Mon Mar 4 15:52:00 2024 +0000

    amdgcn: Comment correction
    
    The location of the marker was changed, but the comment wasn't updated.
    Fixed now.
    
    gcc/ChangeLog:
    
            * config/gcn/gcn.cc (gcn_expand_builtin_1): Comment correction.

Diff:
---
 gcc/config/gcn/gcn.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc
index bc076d1120d..fca001811e5 100644
--- a/gcc/config/gcn/gcn.cc
+++ b/gcc/config/gcn/gcn.cc
@@ -4932,8 +4932,8 @@ gcn_expand_builtin_1 (tree exp, rtx target, rtx 
/*subtarget */ ,
       }
     case GCN_BUILTIN_FIRST_CALL_THIS_THREAD_P:
       {
-       /* Stash a marker in the unused upper 16 bits of s[0:1] to indicate
-          whether it was the first call.  */
+       /* Stash a marker in the unused upper 16 bits of QUEUE_PTR_ARG to
+          indicate whether it was the first call.  */
        rtx result = gen_reg_rtx (BImode);
        emit_move_insn (result, const0_rtx);
        if (cfun->machine->args.reg[QUEUE_PTR_ARG] >= 0)

Reply via email to