Mercurial > libavcodec.hg
comparison alpha/asm.h @ 665:5e5a05077680 libavcodec
Due to version renumbering, Alpha builtins aren't supported in thegcc
3.2 release.
author | mellum |
---|---|
date | Fri, 13 Sep 2002 10:56:51 +0000 |
parents | 4aa1ff2acc74 |
children | 9cda14fe33d9 |
comparison
equal
deleted
inserted
replaced
664:00a882f626bd | 665:5e5a05077680 |
---|---|
50 #define ASM_ACCEPT_MVI asm (".arch pca56") | 50 #define ASM_ACCEPT_MVI asm (".arch pca56") |
51 struct unaligned_long { uint64_t l; } __attribute__((packed)); | 51 struct unaligned_long { uint64_t l; } __attribute__((packed)); |
52 #define ldq_u(p) (*(const uint64_t *) (((uint64_t) (p)) & ~7ul)) | 52 #define ldq_u(p) (*(const uint64_t *) (((uint64_t) (p)) & ~7ul)) |
53 #define uldq(a) (((const struct unaligned_long *) (a))->l) | 53 #define uldq(a) (((const struct unaligned_long *) (a))->l) |
54 | 54 |
55 #if __GNUC__ >= 3 && __GNUC_MINOR__ >= 2 | 55 #if __GNUC__ >= 3 && __GNUC_MINOR__ >= 3 |
56 #define cmpbge __builtin_alpha_cmpbge | 56 #define cmpbge __builtin_alpha_cmpbge |
57 /* Avoid warnings. */ | 57 /* Avoid warnings. */ |
58 #define extql(a, b) __builtin_alpha_extql(a, (uint64_t) (b)) | 58 #define extql(a, b) __builtin_alpha_extql(a, (uint64_t) (b)) |
59 #define extqh(a, b) __builtin_alpha_extqh(a, (uint64_t) (b)) | 59 #define extqh(a, b) __builtin_alpha_extqh(a, (uint64_t) (b)) |
60 #define zap __builtin_alpha_zap | 60 #define zap __builtin_alpha_zap |