Searched refs:sext16 (Results 1 – 4 of 4) sorted by relevance
/external/v8/test/mjsunit/asm/ |
D | sign-extend.js | 29 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/ |
D | sext.ll | 26 define i32 @sext16(i32 %a) { 31 ; CHECK-LABEL: sext16:
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZOperators.td | 348 def sext16 : PatFrag<(ops node:$src), (sext_inreg node:$src, i16)>; 354 def sext16dbl : PatFrag<(ops node:$src), (sext16 (anyext node:$src))>;
|
D | SystemZInstrInfo.td | 417 def LHR : UnaryRRE<"lh", 0xB927, sext16, GR32, GR32>; 423 def LGHR : UnaryRRE<"lgh", 0xB907, sext16, GR64, GR64>;
|