From: Christoph Mallon Date: Wed, 8 Oct 2008 09:01:46 +0000 (+0000) Subject: Do not emit cld in the CopyB prologue. The ABI mandates that DF is cleared, so do... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=fa58db3dfe73586f59ba99952806e418849c9740;p=libfirm Do not emit cld in the CopyB prologue. The ABI mandates that DF is cleared, so do not bother performing this NOP. [r22599] --- diff --git a/ir/be/ia32/ia32_emitter.c b/ir/be/ia32/ia32_emitter.c index af53e41e3..9cbde330e 100644 --- a/ir/be/ia32/ia32_emitter.c +++ b/ir/be/ia32/ia32_emitter.c @@ -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);