Notice: We have migrated to GitLab launching 2024-05-01 see here:

#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:


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 10/19/07 at 12:22:20 by Joel Sherrill

Priority: normallowest
Severity: normalenhancement

comment:2 Changed on 08/04/08 at 19:01:38 by Joel Sherrill

Resolution: invalid
Status: newclosed

No comment. Assuming last reference to C99 was sufficient.

Note: See TracTickets for help on using tickets.