Commit b73800f6 authored by yb9976's avatar yb9976
Browse files

Xor without address mode is commutative.

This fixes backend/builtin_parityl.c and backend/builtin_parityll.c.
parent 9edd1ecb
......@@ -5192,6 +5192,8 @@ static ir_node *gen_parity(ir_node *node)
ir_node *xor2 = new_bd_ia32_XorHighLow(dbgi, new_block, xor);
ir_node *flags;
set_irn_mode(xor2, mode_T);
flags = new_r_Proj(xor2, mode_Iu, pn_ia32_XorHighLow_flags);
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