public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [SH][committed] Fix length of ic_invalidate_line_sh4a pattern
@ 2016-05-06 10:37 Oleg Endo
  0 siblings, 0 replies; only message in thread
From: Oleg Endo @ 2016-05-06 10:37 UTC (permalink / raw)
  To: gcc-patches

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

Hi,

The attached patch fixes the length of the ic_invalidate_line_sh4a
pattern.

Tested on sh-elf with

make -k check RUNTESTFLAGS="--target_board=sh-sim\{-m2/-ml,-m2/-mb,
-m2a/-mb,-m4/-ml,-m4/-mb,-m4a/-ml,-m4a/-mb}"

Committed as r235957.

Cheers,
Oleg

gcc/ChangeLog:
 	* config/sh/sh.md (ic_invalidate_line_sh4a): Fix insn length. 

[-- Attachment #2: sh_ic_invalidate_line_sh4a_length.patch --]
[-- Type: text/x-patch, Size: 359 bytes --]

diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 62a03f3..b054c9e 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -5401,7 +5401,7 @@
 	 "	synco"		"\n"
 	 "	icbi	@%0";
 }
-  [(set_attr "length" "16")	;; FIXME: Why 16 and not 6?  Looks like typo.
+  [(set_attr "length" "6")
    (set_attr "type" "cwb")])
 
 (define_expand "mov<mode>"

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

only message in thread, other threads:[~2016-05-06 10:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-06 10:37 [SH][committed] Fix length of ic_invalidate_line_sh4a pattern Oleg Endo

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