Do not emit cld in the CopyB prologue. The ABI mandates that DF is cleared, so do...
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 8 Oct 2008 09:01:46 +0000 (09:01 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Wed, 8 Oct 2008 09:01:46 +0000 (09:01 +0000)
[r22599]

ir/be/ia32/ia32_emitter.c

index af53e41..9cbde33 100644 (file)
@@ -1370,9 +1370,6 @@ static void emit_ia32_Asm(const ir_node *node)
  */
 static void emit_CopyB_prolog(unsigned size)
 {
-       be_emit_cstring("\tcld");
-       be_emit_finish_line_gas(NULL);
-
        if (size & 1) {
                be_emit_cstring("\tmovsb");
                be_emit_finish_line_gas(NULL);