diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-06-10 13:35:41 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-06-10 13:35:41 +0200 |
| commit | 6b97020bdbdc5eb08aaa638d0649013ce9c65188 (patch) | |
| tree | 638931a0ebb59b5523e0278f86934086a2e3ebe5 /src | |
| parent | Update todo with benchmarking ideas (diff) | |
| download | libzahl-6b97020bdbdc5eb08aaa638d0649013ce9c65188.tar.gz libzahl-6b97020bdbdc5eb08aaa638d0649013ce9c65188.tar.bz2 libzahl-6b97020bdbdc5eb08aaa638d0649013ce9c65188.tar.xz | |
Add a comment about storing the carry flag
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
| -rw-r--r-- | src/zadd.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -25,6 +25,11 @@ "\n jc 1f" \ "\n movq $0, %[x]" \ "\n 1:" +/* + * I have already tried setc, cmovnc, cmovc, and adc, + * instead of the last four lines. There does not seem + * to be any better why to store the carry flag. + */ # define ASM_ADD(N) \ do { \ |
