------- Comment #3 from jakub at gcc dot gnu dot org  2009-12-19 16:06 -------
Created an attachment (id=19350)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19350&action=view)
2fish.c

Updated testcase with lots of asm scheduling barriers inserted, still failing
(and with no- added to optimize attribute not failing).
It seems the first problem is in between the two asms with 5 nops, i.e. in
computation of
CALC_K (w, 2, 0xB3, 0xC6, 0xE8, 0xF4);
Correct value is ctx->w[2] = 0x78ea11ea; ctx->w[3] = 0xa1980bae;
but the miscompiled version gives 0x5c764146 and 0xb9f6c375.  This macro only
depends on the mds and q0 const arrays and on const * key pointer, so doesn't
need to depend on any automatic variables in the function.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19347|0                           |1
        is obsolete|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42429

Reply via email to