From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Lehotsky To: cgen@sources.redhat.com Subject: Simulating different models using a single simulator... Date: Mon, 19 Nov 2001 12:16:00 -0000 Message-ID: X-SW-Source: 2001-q4/msg00036.html Message-ID: <20011119121600.1mSeo-9W5PwRN6xeOAChY394qaefjF4Cl6SrINMyOPU@z> It appears that the --model flag to the simulator allows one to indicate WHICH model of a cpu family is to be simulated. What I'm wondering about is HOW to test the model selected within the (define-insn ...)? What I'd like to do is conditionally test the model and execute slightly different code paths in the simulator. [There are only 6 instructions out of about 40 that are different between the two models.... -- Al -- ------------------------------------------------------------------------ Quality Software Management http://home.earthlink.net/~qsmgmt apl@alum.mit.edu (978)287-0435 Voice (978)808-6836 Cell (978)287-0436 Fax Software Process Improvement and Management Consulting Language Design and Compiler Implementation