Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-07-17
04:22 • Closed ticket [2819200fff]: denormal failures on MIPS plus 8 other changes artifact: ee1e2a4f7d user: dgp
2009-07-10
02:45 • Ticket [2819200fff]: 1 change artifact: 6d4c883368 user: dgp
02:45 • Add attachment mipsdenorm.patch to ticket [2819200fff] artifact: 7023f2b506 user: dgp
02:45 • Ticket [2819200fff] denormal failures on MIPS status still Open with 4 other... artifact: 2505bc290f user: dgp
2009-07-09
19:45 • New ticket [2819200fff]. artifact: d8ef2d570b user: dgp

denormal failures on MIPS

Closed / Fixed2819200fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-07-09 19:45:15
According to the test suite, Tcl expects
gradual underflow in its floating point
calculations and in the operations that
underly parsing and string rep generation
for doubles.

The MIPS FPU in default setting flushes
all denormals to zero, causing many
test suite failures.

The set_fpc_csr() routine declared
in <sys/fpu.h> (on IRIX systems only?)
lets us control this setting.

Attached patch revises Tcl's initialization
to establish the setting it needs.

POTENTIAL INCOMPAT with embedding
programs that need the opposite setting
(do they exist?).
dgpplain2009-07-10 02:45:15
File Added - 334319: mipsdenorm.patch
dgp Ticket [2819200fff]: 1 change [History diff]2009-07-10 02:45:48
dgpplain2009-07-17 04:22:37
allow_comments - 1

fixed for 8.5.8/8.6b2
Log in (anonymous is fine) to add a comment.

Attachments: