Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
この C プログラムを ARM NEON アセンブリに変換したい:
int main() { int str1[]={1,2,3,4,5,6,7,8,9,10}; int str2[]={11,12,3,4,8,1,4,5,8,3}; int str3[10],i; for(i=0;i<10;i++) { str3[i] = str1[i]+str2[i]; } }
ありがとう。
あなたは単にこのようにすることができます
関数内で配列を宣言する
.align .STR1: .word 1,2,3,4,5,6,7,8,9,10
後で次のように配列を使用します。
LDR R0,=.STR1 @loading the start address of the array into R0