Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (523 - 525 of 1030)

Ticket Resolution Summary Owner Reporter
#830 fixed (abs #c(1d300 1d300)) signals overflow R. Matthew Emerson Raymond Toy
Description

As the subject says, (abs #c(1d300 1d300)) signals an overflow. But in fact, the answer is approximately 1.414d300, which still fits in a double-float.

The implementation is probably just doing sqrt(x^2+y^2). A better answer can be achieved using |x|*sqrt(1+(y/x)^2) if |x| >= |y|, with obvious modifications for |x| <= |y|.

#843 fixed merge 14662 to 1.6 R. Matthew Emerson R. Matthew Emerson
Description

ITA wants r14662 in 1.6.

#860 fixed 32-bit x86 assembler uses sib byte encoding for 32-bit displacements R. Matthew Emerson R. Matthew Emerson
Description

r11754 is workaround for a bug in how the lisp assembler encodes memory operands that are just a displacement.

To elaborate on that commit message, there are two ways on 32-bit x86 to encode a memory operand that's just a displacement.

For example, take the instruction:

0x806e6db:	mov    %fs:0x84,%ecx

The lisp assembler encodes this as:

0x806e6db:	0x64	0x8b	0x0c	0x25	0x84	0x00	0x00	0x00

Note that the modrm byte of 0x0c (00 001 100) means that a sib byte follows.

This could also be encoded as this shorter sequence (and the Unix assembler does so):

0x806e6db:	0x64	0x8b	0x0d	0x84	0x00	0x00	0x00

The modrm byte of 0x0d (00 001 101) here means that the displacement follows.

The reason that the lisp assembler selects the longer encoding is because it targeted x86-64 first. On x86-64, the modrm byte in the shorter sequence is redefined to mean that the displacement is RIP-relative. Therefore, the longer sib byte encoding is used to specify just a displacement.

The lisp assembler needs to be persuaded to emit the shorter encoding for 32-bit x86. When it does, we can recompile and bump fasl versions, etc., and remove the workaround in pc_luser_xp().

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.