Home
last modified time | relevance | path

Searched refs:sext16 (Results 1 – 4 of 4) sorted by relevance

/external/v8/test/mjsunit/asm/
Dsign-extend.js29 var sext16 = (function Module(stdlib, foreign, heap) { function
31 function sext16(i) { function
36 return { sext16: sext16 };
37 })(stdlib, foreign, buffer).sext16;
39 assertEquals(-32768, sext16(32768));
40 assertEquals(-1, sext16(-1));
41 assertEquals(-1, sext16(65535));
42 assertEquals(0, sext16(0));
43 assertEquals(0, sext16(65536));
44 assertEquals(128, sext16(128));
[all …]
/external/llvm/test/CodeGen/XCore/
Dsext.ll26 define i32 @sext16(i32 %a) {
31 ; CHECK-LABEL: sext16:
/external/llvm/lib/Target/SystemZ/
DSystemZOperators.td348 def sext16 : PatFrag<(ops node:$src), (sext_inreg node:$src, i16)>;
354 def sext16dbl : PatFrag<(ops node:$src), (sext16 (anyext node:$src))>;
DSystemZInstrInfo.td417 def LHR : UnaryRRE<"lh", 0xB927, sext16, GR32, GR32>;
423 def LGHR : UnaryRRE<"lgh", 0xB907, sext16, GR64, GR64>;