Displaying 3 results from an estimated 3 matches for "cc1101".
Did you mean:
cc101
2007 Jun 14
2
Blackfin inline assembler and VisualDSP++ toolchain
...ord32_t res;
__asm__ (
"%1 = %1.L (X);\n\t"
"%2 = %2.L (X);\n\t"
"%0 = MAX(%1,%2);"
: "=d" (res)
: "%d" (a), "d" (b)
);
return res;
}
---
Compiler says:
"libspeex\fixed_bfin.h", line 48: cc1101: error: invalid constraint in asm statement
: "%d" (a), "d" (b)
^
Following modification successfully passed:
: "d" (a), "d" (b)
Similarly, compiler doesn't understand the following line:
: "=m" (res)
It claims that m is not...
2007 Jun 13
2
Blackfin inline assembler and VisualDSP++ toolchain
Hi Jean-Marc
I'm trying to integrate your speex codec on our custom Blackfin board. The board is not uCLinux compatible and there is no chance that it will ever be.
I am using ADI-supplied VisualDSP++ IDE and corresponding toolchain. As long as I am compiling "C"-only version of the library everything is fine. VisualDSP++ produces working library. There is only one not so minor
2007 Jun 19
1
Blackfin inline assembler and VisualDSP++ toolchain
...ecture, which are defined:
>
>http://gcc.gnu.org/onlinedocs/gcc-4.2.0/gcc/Simple-Constraints.html#Simple-Constraints
>
>`m' A memory operand is allowed, with any kind of address that the machine
> supports in general.
>
>> "libspeex\fixed_bfin.h", line 48: cc1101: error: invalid constraint in asm
>> statement
>>
>> : "%d" (a), "d" (b)
>>
>> ^
>
>Have a look at:
>
>http://gcc.gnu.org/onlinedocs/gcc-4.2.0/gcc/Modifiers.html#Modifiers
>
>`%' Declares the instruction to be com...