From: Fredrik Noring <noring@nocrew.org>
To: Matthew Fortune <mfortune@gmail.com>,
"Maciej W. Rozycki" <macro@linux-mips.org>,
gcc-patches@gcc.gnu.org
Cc: "Jürgen Urban" <JuergenUrban@gmx.de>
Subject: [PATCH v2] MIPS: Default to --with-llsc for the R5900 Linux target as well
Date: Fri, 19 Oct 2018 21:08:00 -0000 [thread overview]
Message-ID: <7a209bd56cc4bb5d71dcf37cc7f5878ffb05d40f.1539971239.git.noring@nocrew.org> (raw)
The Linux kernel requires and emulates LL and SC for the R5900 too. The
special --without-llsc default for the R5900 is therefore not applicable
in that case.
Reviewed-by: Maciej W. Rozycki <macro@linux-mips.org>
---
Changes in v2:
- Double spacing instead of single spacing in commit message
---
gcc/config.gcc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 720e6a7373d..68c34b16123 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -3711,14 +3711,14 @@ fi
# Infer a default setting for --with-llsc.
if test x$with_llsc = x; then
case ${target} in
- mips64r5900-*-* | mips64r5900el-*-* | mipsr5900-*-* | mipsr5900el-*-*)
- # The R5900 doesn't support LL(D) and SC(D).
- with_llsc=no
- ;;
mips*-*-linux*)
# The kernel emulates LL and SC where necessary.
with_llsc=yes
;;
+ mips64r5900-*-* | mips64r5900el-*-* | mipsr5900-*-* | mipsr5900el-*-*)
+ # The R5900 doesn't support LL(D) and SC(D).
+ with_llsc=no
+ ;;
esac
fi
--
2.18.1
next reply other threads:[~2018-10-19 18:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-19 21:08 Fredrik Noring [this message]
2018-11-07 16:32 ` Fredrik Noring
2018-11-09 22:01 ` mfortune
2018-11-12 23:22 ` Maciej W. Rozycki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7a209bd56cc4bb5d71dcf37cc7f5878ffb05d40f.1539971239.git.noring@nocrew.org \
--to=noring@nocrew.org \
--cc=JuergenUrban@gmx.de \
--cc=gcc-patches@gcc.gnu.org \
--cc=macro@linux-mips.org \
--cc=mfortune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).