We're updating the issue view to help you get more done. 

Address.attempt*() compiles incorrectly on IA32 with Jikes 2.9.1

Description

There are two versions of attempt*() in Jikes 2.9.1: there's VM_Magic.attempt*() and Address.attempt*(). The VM_Magic.attempt*() version compiles correctly, but Address.attempt*() doesn't. In particular, in VM_Compiler.java, there's an extraneous instruction emitted when generating the code for Address.attempt*():

asm.emitXOR_Reg_Reg(T0, T0);

Address.attempt*() behaves correctly iff this statement is removed. This issue has already been fixed in the SVN trunk prior to version 2.9.2 (not sure when or by whom); I'm just reporting it here in case anyone runs into it in 2.9.1.

Environment

IA32 with baseline compilation

Status

Assignee

Unassigned

Reporter

Michael Bond

Labels

None

External issue ID

None

Fix versions

Affects versions

2.9.1

Priority

Low