aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@baylibre.com>2024-03-04 15:52:00 +0000
committerAndrew Stubbs <ams@baylibre.com>2024-03-21 13:23:44 +0000
commita2fe34e0b993d5fb879d75ddb42b24b45c4b7242 (patch)
treea0f3a7275d5bc74e48590e4e4700ee29bb3bb51a /gcc
parent69dc2dc7e0e853856b84b1bcc89d0241d8a570aa (diff)
downloadgcc-a2fe34e0b993d5fb879d75ddb42b24b45c4b7242.zip
gcc-a2fe34e0b993d5fb879d75ddb42b24b45c4b7242.tar.gz
gcc-a2fe34e0b993d5fb879d75ddb42b24b45c4b7242.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/gcn/gcn.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/gcn/gcn.cc b/gcc/config/gcn/gcn.cc
index bc076d1..fca0018 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)