Opened 12 years ago

Closed 10 years ago

#246 closed defect (fixed)

x8664::max-1-bit-constant-index probably too big

Reported by: rme Owned by: gb
Priority: minor Milestone:
Component: Compiler Version:
Keywords: Cc:

Description

x8664::max-1-bit-constant-index seems to be too big.

The maximum displacement in an x86 memory operand is a 32-bit signed displacement. This limit can be exceeded in the set-constant-bit vinsns.

For example,

(defun foo (b)
       (declare (type (simple-array bit (*)) b))
       (setf (aref b x8664::max-1-bit-constant-index) 1))

produces bogus code.

Change History (1)

comment:1 Changed 10 years ago by rme

  • Resolution set to fixed
  • Status changed from new to closed

(In [13407]) Smaller value of x8664::max-1-bit-constant-index.

This is needed because the maximum displacement in an x86 memory operand is a 32-bit signed value.

fixes ticket:246

Note: See TracTickets for help on using tickets.