From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 226603858D35; Tue, 31 Oct 2023 12:37:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 226603858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1698755855; bh=Uu37RFMSNGdpdFRX/qzFhFUwIcAXbHnY+Q4v43nXGsE=; h=From:To:Subject:Date:From; b=vAqrNVyc037QixRdKo/cBZhnsnzYpq9QlsS9CHWlE3bsJhHxgGP/NQP8nXuJgAOM0 A+8OPa5D7cHaSWJOfQ8sb/c3osGXQX5jzDBWEYeqDvrnOXQdH42WY13UCgdkAOSWxJ upC+fL7oW8F64q8Jb9pOXwbVAgI1A7IVeqX7xG08= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin/main] amdgcn: remove unnecessary scalar cache flush X-Act-Checkin: newlib-cygwin X-Git-Author: Andrew Stubbs X-Git-Refname: refs/heads/main X-Git-Oldrev: 2ef627c46eb2b7cbc359088e5619be74637e9b90 X-Git-Newrev: 12e3bac3ce562007e83c3c67243c85fcb5ee70a4 Message-Id: <20231031123735.226603858D35@sourceware.org> Date: Tue, 31 Oct 2023 12:37:35 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D12e3bac3ce5= 62007e83c3c67243c85fcb5ee70a4 commit 12e3bac3ce562007e83c3c67243c85fcb5ee70a4 Author: Andrew Stubbs AuthorDate: Fri Oct 20 12:54:17 2023 +0100 Commit: Corinna Vinschen CommitDate: Tue Oct 31 13:36:45 2023 +0100 amdgcn: remove unnecessary scalar cache flush =20 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 =3D val; =20 /* Terminate the current kernel. */ - asm ("s_dcache_wb"); asm ("s_endpgm"); __builtin_unreachable (); }