aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2023-10-20 12:54:17 +0100
committerCorinna Vinschen <corinna@vinschen.de>2023-10-31 13:36:45 +0100
commit12e3bac3ce562007e83c3c67243c85fcb5ee70a4 (patch)
treeee9aeb1a1377331864b6cf4538d8115970587fb0 /newlib
parent2ef627c46eb2b7cbc359088e5619be74637e9b90 (diff)
downloadnewlib-12e3bac3ce562007e83c3c67243c85fcb5ee70a4.zip
newlib-12e3bac3ce562007e83c3c67243c85fcb5ee70a4.tar.gz
newlib-12e3bac3ce562007e83c3c67243c85fcb5ee70a4.tar.bz2
amdgcn: remove unnecessary scalar cache flush
The exit code isn't actually written via the scalar cache so the cache flush is not actually needed.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/libc/machine/amdgcn/exit-value.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/newlib/libc/machine/amdgcn/exit-value.h b/newlib/libc/machine/amdgcn/exit-value.h
index 7aa2508..6b9d241 100644
--- a/newlib/libc/machine/amdgcn/exit-value.h
+++ b/newlib/libc/machine/amdgcn/exit-value.h
@@ -32,7 +32,6 @@ exit_with_int (int val)
*return_value = val;
/* Terminate the current kernel. */
- asm ("s_dcache_wb");
asm ("s_endpgm");
__builtin_unreachable ();
}