[Bug other/59691] New: cilk-plus failure on PENTIUM2

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Sun Jan 5 23:25:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59691

            Bug ID: 59691
           Summary: cilk-plus failure on PENTIUM2
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bernd.edlinger at hotmail dot de

Almost all cilk-plus execution tests fail due to invalid instruction
on PENTIUM2.

Core was generated by `./fib.exe'.
Program terminated with signal 4, Illegal instruction.
#0  0x0036237a in sysdep_save_fp_ctrl_state () from
/home/ed/gnu/gcc-build/i686-pc-linux-gnu/./libcilkrts/.libs/libcilkrts.so.5
(gdb) disass
Dump of assembler code for function sysdep_save_fp_ctrl_state:
   0x00362370 <+0>:     mov    0x4(%esp),%eax
   0x00362374 <+4>:     cmpb   $0x0,0x3(%eax)
   0x00362378 <+8>:     je     0x362381 <sysdep_save_fp_ctrl_state+17>
=> 0x0036237a <+10>:    stmxcsr 0x28(%eax)
   0x0036237e <+14>:    fnstsw 0x2c(%eax)
   0x00362381 <+17>:    repz ret
End of assembler dump.
(gdb) bt
#0  0x0036237a in sysdep_save_fp_ctrl_state () from
/home/ed/gnu/gcc-build/i686-pc-linux-gnu/./libcilkrts/.libs/libcilkrts.so.5
#1  0x00362c5b in __cilkrts_save_fp_ctrl_state () from
/home/ed/gnu/gcc-build/i686-pc-linux-gnu/./libcilkrts/.libs/libcilkrts.so.5
#2  0x08048818 in fib ()
#3  0x0804868b in main ()

cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Pentium II (Deschutes)
stepping        : 2
microcode       : 0x2a
cpu MHz         : 448.819
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pse36 mmx fxsr
bogomips        : 897.63
clflush size    : 32
cache_alignment : 32
address sizes   : 36 bits physical, 32 bits virtual
processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Pentium II (Deschutes)
stepping        : 2
microcode       : 0x2a
cpu MHz         : 448.819
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pse36 mmx fxsr
bogomips        : 897.67
clflush size    : 32
cache_alignment : 32
address sizes   : 36 bits physical, 32 bits virtual



More information about the Gcc-bugs mailing list