delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/02/17:08:30

Message-Id: <m0wulJh-0003DjC@fwd03.btx.dtag.de>
Date: Sat, 2 Aug 97 23:02 MET DST
To: djgpp AT delorie DOT com
Subject: unused registers, realloc
MIME-Version: 1.0
From: Georg DOT Kolling AT t-online DOT de (Georg Kolling)

1. How can i prevent GCC from using a certain segment register? 
   Or doesnt it use all segment registers? (Well, cs for code, ds for data,
   ss for stack, fs for _far stuff... es and gs seem to be unused!)
   I need this for *fast* graphics, and reloading a segment (selector) isn't
   very fast if i need to do this for every putpix!
2. Does realloc always return the same pointer if i try to shrink a previously
   allocated chunk of memory?

Thanx in advance 

- Raw text -


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