#1264 closed enhancement (invalid)

Bad initialization of FPU null context buffer in cpu_asm.S

Reported by: jacques.seronievivien Owned by: Joel Sherrill
Priority: lowest Milestone: 4.9
Component: score Version: 4.6
Severity: minor Keywords:
Cc: Blocked By:
Blocking:

Description

Routine _CPU_Context_initialize_fp defined in cpu_asm.S file should initialize all FPU register context to 0.It loops on a std %g0, [%o0] instruction (which copy values of g0 and g1 registers to [%o0]) whereas g1 value is not forced to 0 before.
This routine is called by _CPU_Initialize routine to initialize CPU_Null_fp_context buffer to 0. It appears during execution that this buffer contains some non nul datas (corresponding to g1 values).

Change History (2)

comment:1 Changed on Oct 19, 2007 at 12:22:20 PM by Joel Sherrill

Priority: normallowest
Severity: normalenhancement

comment:2 Changed on Aug 4, 2008 at 7:01:38 PM by Joel Sherrill

Resolution: invalid
Status: newclosed

No comment. Assuming last reference to C99 was sufficient.

Note: See TracTickets for help on using tickets.