delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
Date: | Sun, 28 Oct 2007 23:02:55 -0400 |
Message-Id: | <200710290302.l9T32tKe029306@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <1193625983.368281.325560@57g2000hsv.googlegroups.com> (message |
from RayeR on Sun, 28 Oct 2007 19:46:23 -0700) | |
Subject: | Re: Using inline asm |
References: | <471FEAC8 DOT 5179 DOT 2FAB88DB AT gerritvn DOT gpvno DOT co DOT za> |
<200710250120 DOT l9P1KEb2032374 AT envy DOT delorie DOT com> | |
<1193303455 DOT 688747 DOT 180190 AT 50g2000hsm DOT googlegroups DOT com> | |
<200710251524 DOT l9PFOeNi022585 AT envy DOT delorie DOT com> <1193625983 DOT 368281 DOT 325560 AT 57g2000hsv DOT googlegroups DOT com> | |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> The last part of asm block lists the "clobbered" registers which was > changed by CPUID and we need to tell GCC to restore them > automatically - so no push/pop needed around. Yup. Specifically, gcc knows to save and restore them *somehow* *if* it needs to. It may not need to save them, it may choose to copy them to another register.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |