Skip to content

Commit 33ed791

Browse files
Claudiu Zissulescuartemiy-volkov
authored andcommitted
arc64: Use a long jump when crossing
1 parent 0e9c8eb commit 33ed791

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gcc/config/arc64/arc64.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,8 @@ vfins, vfsub, vfmul, vfdiv, vfrep, vpack, xbfu, xor, xorl"
10911091
(set (attr "length")
10921092
(if_then_else
10931093
(and (ge (minus (match_dup 0) (pc)) (const_int -512))
1094-
(le (minus (match_dup 0) (pc)) (const_int 506)))
1094+
(le (minus (match_dup 0) (pc)) (const_int 506))
1095+
(match_test "!CROSSING_JUMP_P (insn)"))
10951096
(const_int 2)
10961097
(const_int 4)))]
10971098
)

0 commit comments

Comments
 (0)