Module: YTLJit::FunctionArgumentX64MixinInt

Includes:
FuncArgX64CommonMixin
Defined in:
lib/ytljit/asmext_x64.rb

Constant Summary

Constants included from FuncArgX64CommonMixin

YTLJit::FuncArgX64CommonMixin::ARGPOS2FREG, YTLJit::FuncArgX64CommonMixin::ARGPOS2REG

Constants included from X64

X64::INDIRECT_RAX, X64::INDIRECT_RBP, X64::INDIRECT_RBX, X64::INDIRECT_RCX, X64::INDIRECT_RDI, X64::INDIRECT_RDX, X64::INDIRECT_RSI, X64::INDIRECT_RSP, X64::R10, X64::R11, X64::R12, X64::R13, X64::R14, X64::R15, X64::R8, X64::R9, X64::RAX, X64::RBP, X64::RBX, X64::RCX, X64::RDI, X64::RDX, X64::RSI, X64::RSP

Constants included from SSE64

SSE64::XMM10, SSE64::XMM11, SSE64::XMM12, SSE64::XMM13, SSE64::XMM14, SSE64::XMM15, SSE64::XMM8, SSE64::XMM9

Constants included from SSE

SSE::XMM0, SSE::XMM1, SSE::XMM2, SSE::XMM3, SSE::XMM4, SSE::XMM5, SSE::XMM6, SSE::XMM7

Constants included from AbsArch

AbsArch::AL, AbsArch::BL, AbsArch::CL, AbsArch::DL, AbsArch::FUNC_ARG, AbsArch::FUNC_ARG_YTL, AbsArch::FUNC_FLOAT_ARG, AbsArch::FUNC_FLOAT_ARG_YTL, AbsArch::INDIRECT_BPR, AbsArch::INDIRECT_RETR, AbsArch::INDIRECT_SPR, AbsArch::INDIRECT_TMPR, AbsArch::INDIRECT_TMPR2, AbsArch::INDIRECT_TMPR3

Instance Method Summary collapse

Instance Method Details

#argpos2regObject



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/ytljit/asmext_x64.rb', line 12

def argpos2reg
  case @abi_kind
  when :c
    ARGPOS2REG

  when :cfloat
    ARGPOS2FREG

  when :ytl
    []

  else
    raise "#{@abi_kind}"
  end
end