< prev index next >

src/hotspot/cpu/x86/x86_32.ad

Print this page




3361 %}
3362 
3363 operand immI8() %{
3364   predicate((-128 <= n->get_int()) && (n->get_int() <= 127));
3365   match(ConI);
3366 
3367   op_cost(5);
3368   format %{ %}
3369   interface(CONST_INTER);
3370 %}
3371 
3372 operand immU8() %{
3373   predicate((0 <= n->get_int()) && (n->get_int() <= 255));
3374   match(ConI);
3375 
3376   op_cost(5);
3377   format %{ %}
3378   interface(CONST_INTER);
3379 %}
3380 
3381 operand immU8()
3382 %{
3383   predicate((0 <= n->get_int()) && (n->get_int() <= 255));
3384   match(ConI);
3385 
3386   op_cost(5);
3387   format %{ %}
3388   interface(CONST_INTER);
3389 %}
3390 
3391 operand immI16() %{
3392   predicate((-32768 <= n->get_int()) && (n->get_int() <= 32767));
3393   match(ConI);
3394 
3395   op_cost(10);
3396   format %{ %}
3397   interface(CONST_INTER);
3398 %}
3399 
3400 // Int Immediate non-negative
3401 operand immU31()
3402 %{
3403   predicate(n->get_int() >= 0);
3404   match(ConI);
3405 
3406   op_cost(0);
3407   format %{ %}
3408   interface(CONST_INTER);
3409 %}
3410 




3361 %}
3362 
3363 operand immI8() %{
3364   predicate((-128 <= n->get_int()) && (n->get_int() <= 127));
3365   match(ConI);
3366 
3367   op_cost(5);
3368   format %{ %}
3369   interface(CONST_INTER);
3370 %}
3371 
3372 operand immU8() %{
3373   predicate((0 <= n->get_int()) && (n->get_int() <= 255));
3374   match(ConI);
3375 
3376   op_cost(5);
3377   format %{ %}
3378   interface(CONST_INTER);
3379 %}
3380 










3381 operand immI16() %{
3382   predicate((-32768 <= n->get_int()) && (n->get_int() <= 32767));
3383   match(ConI);
3384 
3385   op_cost(10);
3386   format %{ %}
3387   interface(CONST_INTER);
3388 %}
3389 
3390 // Int Immediate non-negative
3391 operand immU31()
3392 %{
3393   predicate(n->get_int() >= 0);
3394   match(ConI);
3395 
3396   op_cost(0);
3397   format %{ %}
3398   interface(CONST_INTER);
3399 %}
3400 


< prev index next >