This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Two questions about testing.


Jonathan Larmour <jlarmour@redhat.co.uk> writes:
> Sergei Organov wrote:
> > 
> > I think the test for HAL FPU support should run 3 threads at the same
> > priority level that are time-sliced. Two of these threads should perform
> > floating point computations, and one should not use floating point (to test
> > not yet implemented lazy FPU context switches). I also think this test belongs
> > to 'hal/common' set.
> > 
> > Any comments?
> 
> A test involving kernel threads should live in kernel/, even though the
> functionality being tested is in the HAL. If you put it in hal/common you'd
> still have to make it conditional on CYGPKG_KERNEL anyway.

Ok, got it.

> 
> Also, while not an absolute requirement, if you could avoid using libm
> functions that would be good so the test can still run if libm is disabled.

I believe trivial FPU operations like +,-,*,/ would be enough, so nothing from
math library will be involved. As far as I remember, even if target doesn't
support '*' or '/', the support code resides in the "libgcc.a"

Sergei.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]