REP RET
- From: "Will DeWitt Jr." <edge@xxxxxxxxxxxxxxxxxxx>
- Date: 31 Oct 2005 01:47:46 -0700
About the REP RET debate from a short while ago. It seems Microsoft
uses this in their runtime library for Visual C++ 2005. ;) The exact
line is--
rep ret /* REP to avoid AMD branch prediction penalty */
And since I'm running an Intel system and it hit this code, I'm going
to guess they don't do any CPU detection to see if they're working on
AMD or Intel processors.
I found this sitting in __security_check_cookie in secchk.c.
Will
--
Want native support in Delphi for AMD64/EM64T? Vote here--
http://qc.borland.com/wc/qcmain.aspx?d=7324
.
- Follow-Ups:
- Re: REP RET
- From: Pierre le Riche
- Re: REP RET
- Prev by Date: mixing calling conventions question
- Next by Date: Re: mixing calling conventions question
- Previous by thread: mixing calling conventions question
- Next by thread: Re: REP RET
- Index(es):