Opened 12 years ago

Closed 11 years ago

#47 closed defect (fixed)

xpMMXreg macro (from x86-exceptions.h) not used, and appears wrong for darwin

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

Description

(lines 38--39 in lisp-kernel/x86-exceptions.h)

#define xpFPRvector(x) ((natural *)(&(UC_MCONTEXT(x)->__fs.__fpu_xmm0)))
#define xpMMXreg(x,n)  (xpFPRvector(x)[n])

The x87/mmx regs don't immediately follow the first xmm register in the darwin floating point state struct.

xpMMxreg appears to be unused at the moment, so it doesn't affect anything, but it seems like it ought to be corrected or deleted.

Change History (1)

comment:1 Changed 11 years ago by rme

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

Corrected in r10803.

Note: See TracTickets for help on using tickets.