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

Class Method Details

.basic_usage(arg1, arg2) ⇒ Object



339
340
341
# File 'lib/BOAST/Operators.rb', line 339

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

.intr_name_ARMObject



335
336
337
# File 'lib/BOAST/Operators.rb', line 335

def intr_name_ARM
  return "vadd"
end

.intr_name_X86Object



331
332
333
# File 'lib/BOAST/Operators.rb', line 331

def intr_name_X86
  return "add"
end

.symbolObject



327
328
329
# File 'lib/BOAST/Operators.rb', line 327

def symbol
  return "+"
end