roderik.wildenb...@manroland.com wrote:
Gilles sent you a patch affecting
include/asm-powerpc/bits/pod.h a few weeks
ago, that fixed an FPU issue. Are you running with this patch applied?
Yes, with 2.3.5 and 2.4.6. Both show the same behavior.
Obviously, in the meantime, Wolfgang could reproduce the problem!?
Unfortunately, I'm not able to reproduce this bug on my side, even using the
latest linuxppc_devel tree. I have attached my test code to make sure we are
testing the same thing. This test code does raise the FPU exception properly.
Roderik
--------------------------------------------------------
manroland AG
Vorsitzender des Aufsichtsrates: Hanno C. Fiedler
Vorstand: Gerd Finkbeiner (Vorsitzender), Dr. Ingo Koch, Dr. Markus Rall, Paul Steidle
Sitz der Gesellschaft: Offenbach am Main, Registergericht: Amtsgericht Offenbach HRB-Nr. 42592
USt-Ident-Nr. DE 250200933
#include <sys/types.h>
#include <sys/mman.h>
#include <stdio.h>
#include <fenv.h>
#include <native/task.h>
double z;
int main (int argc, char **argv)
{
double a = 23.0;
z = 0;
fesetenv(FE_ENABLED_ENV);
mlockall(MCL_CURRENT | MCL_FUTURE);
rt_task_shadow(NULL, "main", 10, 0);
a /= z;
rt_task_suspend(NULL);
return (int)a;
}
_______________________________________________
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xenomai-help