Displaying 2 results from an estimated 2 matches for "doublevector".
2016 Feb 01
2
[Hexagon] Failure to disassemble some new-value instructions
...cing one of these problems, the handling of some new-value instructions in HexagonDisassembler::getSingleInstruction() turned out to be the cause, specifically this statement:
[lines 384-386 in HexagonDisassembler.cpp in HEAD]
else if (SubregBit)
// Subreg bit should not be set for non-doublevector newvalue producers
return MCDisassembler::Fail;
Where does the requirement come from? Maybe I overlooked it, but I do not see it in the Hexagon V5/V55 Programmer’s Reference Manual.
One instruction packet I have encountered in the wild that triggers this failure is:
10: e0 7e df 78...
2008 Nov 06
2
Fwd: SWIG with R and C++ STL
...e is the details. I got "myvector.i" and "myvector.h" as my two input
files, the contends are:
---myvector.i-----
%module myvector
%{
#include "myvector.h"
%}
%include "std_vector.i"
namespace std {
%template(IntVector) vector<int>;
%template(DoubleVector) vector<double>;
};
%include "myvector.h"
----------------------------------
--myvector.h-------------------
/* File : example.h */
#include <vector>
#include <algorithm>
#include <functional>
#include <numeric>
double average(std::vector<int> v) {...