public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH committed][AArch64] Fix dbl_mov_immediate_1.c test
@ 2017-08-14 11:17 Szabolcs Nagy
  0 siblings, 0 replies; only message in thread
From: Szabolcs Nagy @ 2017-08-14 11:17 UTC (permalink / raw)
  To: gcc-patches; +Cc: nd

[-- Attachment #1: Type: text/plain, Size: 226 bytes --]

Make sure adrp is used for literal loads.

committed as obvious.

gcc/testsuite/ChangeLog:

2017-08-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* gcc.target/aarch64/dbl_mov_immediate_1.c: Add
	-mno-pc-relative-literal-loads.

[-- Attachment #2: pcrel.diff --]
[-- Type: text/x-patch, Size: 524 bytes --]

diff --git a/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c b/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c
index e8dd01db056..ba6a230457b 100644
--- a/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/dbl_mov_immediate_1.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3" } */
+/* { dg-options "-O3 -mno-pc-relative-literal-loads" } */
 /* { dg-skip-if "Tiny model won't generate adrp" { *-*-* } { "-mcmodel=tiny" } { "" } } */
 
 double d0(void)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-14 10:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-14 11:17 [PATCH committed][AArch64] Fix dbl_mov_immediate_1.c test Szabolcs Nagy

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).