Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/x86_32.ad @ 558:3b5ac9e7e6ea
6796746: rename LoadC (char) opcode class to LoadUS (unsigned short)
Summary: Renaming LoadC to LoadUS would round up the planned introduction of LoadUB and LoadUI.
Reviewed-by: phh, kvn
author | twisti |
---|---|
date | Mon, 26 Jan 2009 16:22:12 +0100 |
parents | a1980da045cc |
children | dca06e7f503d |
comparison
equal
deleted
inserted
replaced
557:465813e0303a | 558:3b5ac9e7e6ea |
---|---|
6411 opcode(0xB6, 0x0F); | 6411 opcode(0xB6, 0x0F); |
6412 ins_encode( OpcS, OpcP, RegMem(dst,mem)); | 6412 ins_encode( OpcS, OpcP, RegMem(dst,mem)); |
6413 ins_pipe( ialu_reg_mem ); | 6413 ins_pipe( ialu_reg_mem ); |
6414 %} | 6414 %} |
6415 | 6415 |
6416 // Load Char (16bit unsigned) | 6416 // Load Unsigned Short/Char (16bit unsigned) |
6417 instruct loadC(eRegI dst, memory mem) %{ | 6417 instruct loadUS(eRegI dst, memory mem) %{ |
6418 match(Set dst (LoadC mem)); | 6418 match(Set dst (LoadUS mem)); |
6419 | 6419 |
6420 ins_cost(125); | 6420 ins_cost(125); |
6421 format %{ "MOVZX $dst,$mem" %} | 6421 format %{ "MOVZX $dst,$mem" %} |
6422 opcode(0xB7, 0x0F); | 6422 opcode(0xB7, 0x0F); |
6423 ins_encode( OpcS, OpcP, RegMem(dst,mem)); | 6423 ins_encode( OpcS, OpcP, RegMem(dst,mem)); |