From: Antonio Ospite Date: Sun, 10 Nov 2013 11:42:54 +0000 (+0100) Subject: Remove a stale comment X-Git-Url: https://git.ao2.it/experiments/inline-assembly.git/commitdiff_plain/9a9da565f6c8f85998120821f9621d71ac9f4a81?ds=inline Remove a stale comment --- diff --git a/inline-asm-array-sum.c b/inline-asm-array-sum.c index 7eb7ae8..808aa66 100644 --- a/inline-asm-array-sum.c +++ b/inline-asm-array-sum.c @@ -33,7 +33,6 @@ static int array_sum(int *values, unsigned int n) ".REPEAT:\n\t" "cmpl %%edi, %%ecx\n\t" /* if (i == n) */ "je .DONE\n\t" - /* TODO: try incrementing the pointer by 4 */ "movq (%%rbx,%%rdi,4), %%rdx\n\t" /* tmp = values[i]; 64 bit register */ "addl %%edx, %%eax\n\t" /* sum += tmp[31:0]; */ "incl %%edi\n\t" /* i++ */