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

Implementation in NEON of non uniform address jumps

Parents
  • Note: This was originally posted on 2nd July 2012 at http://forums.arm.com

    I was writing a NEON code and got the following Error-


    In function 'neon_filter':
    interpol.c:176: error: impossible constraint in 'asm'


    What could be the possible reasons?

    [Are my i/o variables too many ?

    : "+r"(col),"+r"(sum),"+r"(src),"+r"(dst),"=w"( c ),"+r"(cStride),"+r"(maxVal),"=w"(shift),"+r"(offset)//0,1,2,3,4,5,6,7,8
    : "r"(width),"r"(isLast)//9,10
    : "q0", "q1", "q2","q3", "q4"
    ]
Reply
  • Note: This was originally posted on 2nd July 2012 at http://forums.arm.com

    I was writing a NEON code and got the following Error-


    In function 'neon_filter':
    interpol.c:176: error: impossible constraint in 'asm'


    What could be the possible reasons?

    [Are my i/o variables too many ?

    : "+r"(col),"+r"(sum),"+r"(src),"+r"(dst),"=w"( c ),"+r"(cStride),"+r"(maxVal),"=w"(shift),"+r"(offset)//0,1,2,3,4,5,6,7,8
    : "r"(width),"r"(isLast)//9,10
    : "q0", "q1", "q2","q3", "q4"
    ]
Children
No data