Commit fc2fb901 authored by Michael Beck's avatar Michael Beck
Browse files

BugFix: is_ia32_Ld() and is_ia32_St() must handle real x87 nodes because

they get interrogated for register constraints
parent 4d06576d
...@@ -1098,14 +1098,14 @@ int is_ia32_AddrModeD(const ir_node *node) { ...@@ -1098,14 +1098,14 @@ int is_ia32_AddrModeD(const ir_node *node) {
* Checks if node is a Load or fLoad/vfLoad. * Checks if node is a Load or fLoad/vfLoad.
*/ */
int is_ia32_Ld(const ir_node *node) { int is_ia32_Ld(const ir_node *node) {
return is_ia32_Load(node) || is_ia32_fLoad(node) || is_ia32_vfld(node); return is_ia32_Load(node) || is_ia32_fLoad(node) || is_ia32_vfld(node) || is_ia32_fld(node);
} }
/** /**
* Checks if node is a Store or fStore/vfStore. * Checks if node is a Store or fStore/vfStore.
*/ */
int is_ia32_St(const ir_node *node) { int is_ia32_St(const ir_node *node) {
return is_ia32_Store(node) || is_ia32_fStore(node) || is_ia32_vfst(node); return is_ia32_Store(node) || is_ia32_fStore(node) || is_ia32_vfst(node) || is_ia32_fst(node) || is_ia32_fstp(node);
} }
/** /**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment