We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a144e5 commit 66be416Copy full SHA for 66be416
gcc/config/arc64/arc64.h
@@ -365,8 +365,10 @@ enum reg_class
365
366
/* Maximum bytes moved by a single instruction (load/store pair). */
367
#define MOVE_MAX (UNITS_PER_WORD)
368
-
369
-#define MOVE_RATIO(SPEED) 2
+/* The threshold of number of scalar memory-to-memory move insns which
+ a sequence of insns should be generated instead of a string move
370
+ insn or a library call. */
371
+#define MOVE_RATIO(SPEED) ((SPEED) ? 15 : 3)
372
373
#ifndef USED_FOR_TARGET
374
extern const enum reg_class arc64_regno_to_regclass[];
0 commit comments