comparison src/cpu/sparc/vm/sparc.ad @ 81:dee7a3f3dc9d

6636352: Unit tests for supplementary character support fail with -XX:+AggressiveOpts Summary: incorrect encoding Reviewed-by: kvn, rasbold, sgoldman, jrose
author never
date Mon, 31 Mar 2008 16:22:52 -0700
parents a61af66fc99e
children ba764ed4b6f2
comparison
equal deleted inserted replaced
80:092ea87cc974 81:dee7a3f3dc9d
6021 format %{ "MOV$cmp $icc,$src,$dst" %} 6021 format %{ "MOV$cmp $icc,$src,$dst" %}
6022 ins_encode( enc_cmov_imm(cmp,dst,src, (Assembler::icc)) ); 6022 ins_encode( enc_cmov_imm(cmp,dst,src, (Assembler::icc)) );
6023 ins_pipe(ialu_imm); 6023 ins_pipe(ialu_imm);
6024 %} 6024 %}
6025 6025
6026 instruct cmovII_U_reg(cmpOp cmp, flagsRegU icc, iRegI dst, iRegI src) %{ 6026 instruct cmovII_U_reg(cmpOpU cmp, flagsRegU icc, iRegI dst, iRegI src) %{
6027 match(Set dst (CMoveI (Binary cmp icc) (Binary dst src))); 6027 match(Set dst (CMoveI (Binary cmp icc) (Binary dst src)));
6028 ins_cost(150); 6028 ins_cost(150);
6029 size(4); 6029 size(4);
6030 format %{ "MOV$cmp $icc,$src,$dst" %} 6030 format %{ "MOV$cmp $icc,$src,$dst" %}
6031 ins_encode( enc_cmov_reg(cmp,dst,src, (Assembler::icc)) ); 6031 ins_encode( enc_cmov_reg(cmp,dst,src, (Assembler::icc)) );
6032 ins_pipe(ialu_reg); 6032 ins_pipe(ialu_reg);
6033 %} 6033 %}
6034 6034
6035 instruct cmovII_U_imm(cmpOp cmp, flagsRegU icc, iRegI dst, immI11 src) %{ 6035 instruct cmovII_U_imm(cmpOpU cmp, flagsRegU icc, iRegI dst, immI11 src) %{
6036 match(Set dst (CMoveI (Binary cmp icc) (Binary dst src))); 6036 match(Set dst (CMoveI (Binary cmp icc) (Binary dst src)));
6037 ins_cost(140); 6037 ins_cost(140);
6038 size(4); 6038 size(4);
6039 format %{ "MOV$cmp $icc,$src,$dst" %} 6039 format %{ "MOV$cmp $icc,$src,$dst" %}
6040 ins_encode( enc_cmov_imm(cmp,dst,src, (Assembler::icc)) ); 6040 ins_encode( enc_cmov_imm(cmp,dst,src, (Assembler::icc)) );