public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] amdgcn: remove unnecessary scalar cache flush
@ 2023-10-31 12:37 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2023-10-31 12:37 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=12e3bac3ce562007e83c3c67243c85fcb5ee70a4
commit 12e3bac3ce562007e83c3c67243c85fcb5ee70a4
Author: Andrew Stubbs <ams@codesourcery.com>
AuthorDate: Fri Oct 20 12:54:17 2023 +0100
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Tue Oct 31 13:36:45 2023 +0100
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.
Diff:
---
newlib/libc/machine/amdgcn/exit-value.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/newlib/libc/machine/amdgcn/exit-value.h b/newlib/libc/machine/amdgcn/exit-value.h
index 7aa2508bbd66..6b9d2411b7ce 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 ();
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-31 12:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-31 12:37 [newlib-cygwin/main] amdgcn: remove unnecessary scalar cache flush Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).