Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6469339
Votes 0
Synopsis wrong format strings for register operands hide real register usage
Category hotspot:compiler2
Reported Against
Release Fixed hs10(b06), 6u4(b03) (Bug ID:2171831) , 7(b06) (Bug ID:2176813)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 11-SEP-2006
Description
In .ad file, the format 
operand no_rax_RegL()
%{
  constraint(ALLOC_IN_RC(long_no_rax_rdx_reg));
  match(RegL);
  match(rRegL);
  match(rdxRegL);

  format %{ "RCX" %}
  interface(REG_INTER);
%}
If register selected other than RCX the output of PrintOptoAssembly will be wrong. The output will be confusing since the real case with no rcx selected.
Posted Date : 2006-09-11 17:33:41.0
Work Around
N/A
Evaluation
We can detect and complain about some version of this problem but I think it would be better if formats were never specified for register operands.
Posted Date : 2006-09-11 23:18:23.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang