Add loadB_convI2L in mips_64.ad

Tue, 23 Aug 2016 09:07:41 +0800

author
fujie
date
Tue, 23 Aug 2016 09:07:41 +0800
changeset 92
694e724a24de
parent 91
c1ec45981302
child 93
face41ac7075

Add loadB_convI2L in mips_64.ad

src/cpu/mips/vm/mips_64.ad file | annotate | diff | comparison | revisions
     1.1 --- a/src/cpu/mips/vm/mips_64.ad	Mon Aug 22 17:51:21 2016 +0800
     1.2 +++ b/src/cpu/mips/vm/mips_64.ad	Tue Aug 23 09:07:41 2016 +0800
     1.3 @@ -5212,6 +5212,15 @@
     1.4    ins_pipe( ialu_loadI );
     1.5  %}
     1.6  
     1.7 +instruct loadB_convI2L(mRegL dst, memory mem) %{
     1.8 +  match(Set dst (ConvI2L (LoadB mem)));
     1.9 +
    1.10 +  ins_cost(125);
    1.11 +  format %{ "lb   $dst, $mem #@loadB_convI2L" %}
    1.12 +  ins_encode(load_B_enc(dst, mem));
    1.13 +  ins_pipe( ialu_loadI );
    1.14 +%}
    1.15 +
    1.16  // Load Byte (8bit UNsigned)
    1.17  instruct loadUB(mRegI dst, memory mem) %{
    1.18    match(Set dst (LoadUB mem));

mercurial