Class: AArch64::Instructions::UMADDL
- Inherits:
-
Instruction
- Object
- Instruction
- AArch64::Instructions::UMADDL
- Defined in:
- lib/aarch64/instructions/umaddl.rb
Overview
UMADDL – A64 Unsigned Multiply-Add Long UMADDL <Xd>, <Wn>, <Wm>, <Xa>
Instance Method Summary collapse
- #encode(_) ⇒ Object
-
#initialize(xd, wn, wm, xa) ⇒ UMADDL
constructor
A new instance of UMADDL.
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 |