MPS issue job001543

TitleMPS mpsicv (test) on OS X does not use reg&stack scanner.
Statusclosed
Priorityoptional
Assigned userRichard Kistruck
OrganizationRavenbrook
DescriptionMPS mpsicv (test) on OS X does not use reg&stack scanner.
MPS mpsicv coverage test source has ifndef CONFIG_PF_XCPPGC.

[RHSK 2006-12-11]
This means that on XCPPGC (OS X on PPC) is not testing the
reg&stack scanner, even though this now exists (ssxcpp.s).
Analysis[RHSK 2006-12-11]
Should remove the ifndef and check it's ok.

Or perhaps change it to apply to OS X on Intel?
See job001544.

2007-03-01 DRJ: Actually that's CONFIG_PF_XCPPGC not
MPS_PF_XCPPGC. Our build sytem doesn't define CONFIG_PF_XCPPGC
(speculation: Maybe Global Graphics define this?). So I believe
that the reg&stack scanner in ssxcpp.s was in fact being used.
Further confirmed by adding a PRINT to the code.

I removed the #if. In change 161466. xcppgc/ci/mpsicv now
fails with an assertion when running under Rosetta.
That's a Rosetta bug, see job001634 .
It should be fine on real silicon.
How foundunknown
Evidencehttp://info.ravenbrook.com/project/mps/master/code/mpsicv.c#13
Observed in1.106.0
Created byRichard Kistruck
Created on2006-12-11 17:09:01
Last modified byGareth Rees
Last modified on2013-03-19 11:37:07
History2006-12-11 RHSK Created.
2006-12-14 RHSK Make title more helpful, more user-speak.
2007-03-02 DRJ More analysis, and fix.

Fixes

Change Effect Date User Description
178908 closed 2012-08-12 23:27:35 Richard Brooksby Removing obsolete platforms:
LII3EG Linux on i386 with EGCS
LIPPGC Linux on POWER with GCC
S7PPMW Mac System 7 on PowerPC with Metrowerks Codewarrior
SOS8CX Solaris on SPARC 8 with cxref
SOS8GC Solaris on SPARC 8 with GCC
SOS8GP Solaris on SPARC 8 with GCC and gprof
SOS9SC Solaris on SPARC 9 with SunPro C
XCPPGC Mac OS X on PowerPC with GCC
161877 open 2007-03-01 19:49:29 David Jones MPS: enabling reg scanner for mpsicv on MacTel.