anyone knows anything about this code from Microsoft?

        jne RestoreRcx
        db 0f3h                         ; (encode REP for REP RET)
        ret                             ; no overrun, use REP RET to avoid AMD
                                        ; branch prediction flaw after Jcc
Posted on 2006-11-29 12:29:20 by vid
rep nop can also be used for spinlocks etc...

without seeing the rest of the code you have, its hard to see
the 'flaw' or code branching... can you paste more or give the url?
Posted on 2006-11-29 16:18:15 by evlncrn8
sorry, i can't. this is part of of visual studio.
Posted on 2006-11-29 16:35:38 by vid
Which file is it in? At least that would allow people with VS to take a closer look :)
Posted on 2006-11-30 02:59:06 by f0dder