Class: BOAST::Addition

Inherits:
BasicBinaryOperator show all
Defined in:
lib/BOAST/Operators.rb

Class Method Summary collapse

Methods inherited from BasicBinaryOperator

to_s

Methods inherited from Operator

convert, get_vector_name, inspect

Methods included from PrivateStateAccessor

private_boolean_state_accessor, private_state_accessor

Class Method Details

.basic_usage(arg1, arg2) ⇒ Object



379
380
381
# File 'lib/BOAST/Operators.rb', line 379

def basic_usage(arg1, arg2)
  return "#{arg1} + #{arg2}" 
end

.intr_name_ARMObject



375
376
377
# File 'lib/BOAST/Operators.rb', line 375

def intr_name_ARM
  return "vadd"
end

.intr_name_X86Object



371
372
373
# File 'lib/BOAST/Operators.rb', line 371

def intr_name_X86
  return "add"
end

.symbolObject



367
368
369
# File 'lib/BOAST/Operators.rb', line 367

def symbol
  return "+"
end