This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex-A53 : complex array problem

Hello ;

I am working on Arm Cortex-A53 and here is the problem;

when ı am trying to allocate

  A= new comp[N]; >>

typedef std::complex< double > comp;>>

#include <complex>

struct complex<double>
{
typedef double value_type;
typedef __complex__ double _ComplexT;

_GLIBCXX_CONSTEXPR complex(_ComplexT __z) : _M_value(__z) { }

_GLIBCXX_CONSTEXPR complex(double __r = 0.0, double __i = 0.0)
#if __cplusplus >= 201103L
: _M_value{ __r, __i } { }
#else
{
__real__ _M_value = __r;
__imag__ _M_value = __i;
}
#endif

xsct% Info: Cortex-A53 #0 (target 9) Running
xsct% Info: Cortex-A53 #0 (target 9) Stopped at 0x4a028 (Hardware Breakpoint)    (the red spot jumps return that info at XSCT console)

my code just give a HTL instraction failed in that red spot. Same code was working on cortexa9

So could you help me ?