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



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

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

.intr_name_ARMObject



324
325
326
# File 'lib/BOAST/Operators.rb', line 324

def intr_name_ARM
  return "vadd"
end

.intr_name_X86Object



320
321
322
# File 'lib/BOAST/Operators.rb', line 320

def intr_name_X86
  return "add"
end

.symbolObject



316
317
318
# File 'lib/BOAST/Operators.rb', line 316

def symbol
  return "+"
end