i386.c (ix86_function_value_regno_p): Disallow DX_REG for 64-bit ms-abi.
* config/i386/i386.c (ix86_function_value_regno_p): Disallow DX_REG for 64-bit ms-abi. From-SVN: r211204
This commit is contained in:
parent
47e78f984e
commit
3ce7abdd2f
|
@ -1,3 +1,8 @@
|
||||||
|
2014-06-03 Kai Tietz <ktietz@redhat.com>
|
||||||
|
|
||||||
|
* config/i386/i386.c (ix86_function_value_regno_p): Disallow DX_REG
|
||||||
|
for 64-bit ms-abi.
|
||||||
|
|
||||||
2014-06-03 Dehao Chen <dehao@google.com>
|
2014-06-03 Dehao Chen <dehao@google.com>
|
||||||
|
|
||||||
* tree-cfg.c (gimple_merge_blocks): Only reset count when BBs are in
|
* tree-cfg.c (gimple_merge_blocks): Only reset count when BBs are in
|
||||||
|
|
|
@ -7774,8 +7774,9 @@ ix86_function_value_regno_p (const unsigned int regno)
|
||||||
switch (regno)
|
switch (regno)
|
||||||
{
|
{
|
||||||
case AX_REG:
|
case AX_REG:
|
||||||
case DX_REG:
|
|
||||||
return true;
|
return true;
|
||||||
|
case DX_REG:
|
||||||
|
return (!TARGET_64BIT || ix86_abi != MS_ABI);
|
||||||
case DI_REG:
|
case DI_REG:
|
||||||
case SI_REG:
|
case SI_REG:
|
||||||
return TARGET_64BIT && ix86_abi != MS_ABI;
|
return TARGET_64BIT && ix86_abi != MS_ABI;
|
||||||
|
|
Loading…
Reference in New Issue