🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Goeran Uddeborg Fri, 20 Nov 1992 15:40
GCC 2.3.1 config/ns32k.h strangeness
#1434
Author: Goeran Uddeborg
Date: Fri, 20 Nov 1992 15:40
24 lines
1253 bytes
The following definitions of TARGET_32332 and TARGET_32532 in the file
config/ns32k.h seem to be confused:

    /* Options to select type of CPU, for better optimization.
       The output is correct for any kind of 32000 regardless of these options.  */
    #define TARGET_32532 (target_flags & 8)
    #define TARGET_32332 (target_flags & 16)

	...

    #define TARGET_SWITCHES  \
	    ...
	{ "32532", 24},				\
	{ "32332", -16},			\
	{ "32332", 8},				\
	{ "32032", -24},			\
	    ...

The code makes me believe that the define TARGET_32332 is intended to
be true for 32332 and 32532 machines, and TARGET_32532 only for 32532
machines.  This would mean that the macro TARGET_32332 ought to have
the current definition of TARGET_32532, and vice versa.

Unless I have misunderstood this code completely...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads