delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/01/17:43:54

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Spilling registers - inline asm?
Date: Sat, 01 Jan 2000 21:02:40 +0200
Organization: NetVision Israel
Lines: 23
Message-ID: <386E4F50.8ED1D207@is.elta.co.il>
References: <386E0E85 DOT 6925D65 AT connection DOT com>
NNTP-Posting-Host: ras1-p8.rvt.netvision.net.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 946753434 12409 62.0.172.10 (1 Jan 2000 19:03:54 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 1 Jan 2000 19:03:54 GMT
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en,ru,hebrew
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

sam wrote:
> 
> First, I will ask where can I get some info on inline assembler > (if > any, I couldn't find anything in RHIDE/help stdlib or djgpp text
> documentation.)

See sections 18.13 and 17.1 of the DJGPP FAQ list, they give some
pointers.

> D:\DJGPP\CONTRIB\grx23\src>make -f makefdj2.mak
> gcc -c -O6 -Wall -fomit-frame-pointer -I. -I./include -I../include
> -I../addons/p
> rint -I../addons/bmp utils/shiftscl.c -o utils/shiftscl.o
> utils/shiftscl.c: In function `_GR_shift_scanline':
> utils/shiftscl.c:48: Invalid `asm' statement:
> utils/shiftscl.c:48: fixed or forbidden register 2 (cx) was spilled > > for class CREG.

This happens because latest version of GCC have more stringent checks
for invalid inline assembly used by GRX.

Search the archives of this group (available at
http://www.delorie.com/djgpp/mail-archives) for GRX, and you will find
several messages posted lately with URLs of patches which will fix these
problems.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019