Class: AArch64::Instructions::UMADDL

Inherits:
Instruction show all
Defined in:
lib/aarch64/instructions/umaddl.rb

Overview

UMADDL – A64 Unsigned Multiply-Add Long UMADDL <Xd>, <Wn>, <Wm>, <Xa>

Instance Method Summary collapse

Constructor Details

#initialize(xd, wn, wm, xa) ⇒ UMADDL

Returns a new instance of UMADDL.



7
8
9
10
11
12
# File 'lib/aarch64/instructions/umaddl.rb', line 7

def initialize xd, wn, wm, xa
  @xd = check_mask(xd, 0x1f)
  @wn = check_mask(wn, 0x1f)
  @wm = check_mask(wm, 0x1f)
  @xa = check_mask(xa, 0x1f)
end

Instance Method Details

#encode(_) ⇒ Object



14
15
16
# File 'lib/aarch64/instructions/umaddl.rb', line 14

def encode _
  UMADDL(@wm, @xa, @wn, @xd)
end