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

Reply via email to