Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
int32_minmax_x86.c File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define int32_MINMAX(a, b)

Macro Definition Documentation

◆ int32_MINMAX

#define int32_MINMAX ( a,
b )
Value:
do { \
int32 temp1; \
asm( \
"cmpl %1,%0\n\t" \
"mov %0,%2\n\t" \
"cmovg %1,%0\n\t" \
"cmovg %2,%1\n\t" \
: "+r"(a), "+r"(b), "=r"(temp1) \
: \
: "cc" \
); \
} while(0)
#define int32
Definition int32_sort.c:2
f a
Definition to_model.m:12

Definition at line 1 of file int32_minmax_x86.c.

1#define int32_MINMAX(a,b) \
2do { \
3 int32 temp1; \
4 asm( \
5 "cmpl %1,%0\n\t" \
6 "mov %0,%2\n\t" \
7 "cmovg %1,%0\n\t" \
8 "cmovg %2,%1\n\t" \
9 : "+r"(a), "+r"(b), "=r"(temp1) \
10 : \
11 : "cc" \
12 ); \
13} while(0)

Referenced by __attribute__(), and int32_sort().