mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
Adjust memory_move_cost for MASK_REGS when MODE_SIZE > 8.
It's impossible to put modes whose size > 8 into MASK_REGS. gcc/ChangeLog: * config/i386/i386.cc (inline_memory_move_cost): Return 100 for MASK_REGS when MODE_SIZE > 8.
This commit is contained in:
parent
65dd42d2c3
commit
5de5e977aa
@ -19847,9 +19847,12 @@ inline_memory_move_cost (machine_mode mode, enum reg_class regclass, int in)
|
||||
index = 1;
|
||||
break;
|
||||
/* DImode loads and stores assumed to cost the same as SImode. */
|
||||
default:
|
||||
case 4:
|
||||
case 8:
|
||||
index = 2;
|
||||
break;
|
||||
default:
|
||||
return 100;
|
||||
}
|
||||
|
||||
if (in == 2)
|
||||
|
Loading…
Reference in New Issue
Block a user