Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2023-10-20 14:54:17 +0300
committerCorinna Vinschen <corinna@vinschen.de>2023-10-31 15:36:45 +0300
commit12e3bac3ce562007e83c3c67243c85fcb5ee70a4 (patch)
treeee9aeb1a1377331864b6cf4538d8115970587fb0 /newlib
parent2ef627c46eb2b7cbc359088e5619be74637e9b90 (diff)
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 7aa2508bb..6b9d2411b 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 ();
}