Mercurial > libpostproc.hg
comparison postprocess.c @ 74:d3155dbdcdcd libpostproc
Simplify: use DECLARE_ASM_CONST
| author | reimar |
|---|---|
| date | Wed, 30 Jan 2008 18:21:01 +0000 |
| parents | d72d8c7c4903 |
| children | d2cf9a69d443 |
comparison
equal
deleted
inserted
replaced
| 73:cc79af45c2ae | 74:d3155dbdcdcd |
|---|---|
| 99 #define BLOCK_SIZE 8 | 99 #define BLOCK_SIZE 8 |
| 100 #define TEMP_STRIDE 8 | 100 #define TEMP_STRIDE 8 |
| 101 //#define NUM_BLOCKS_AT_ONCE 16 //not used yet | 101 //#define NUM_BLOCKS_AT_ONCE 16 //not used yet |
| 102 | 102 |
| 103 #if defined(ARCH_X86) | 103 #if defined(ARCH_X86) |
| 104 static DECLARE_ALIGNED(8, const uint64_t attribute_used, w05)= 0x0005000500050005LL; | 104 DECLARE_ASM_CONST(8, uint64_t, w05)= 0x0005000500050005LL; |
| 105 static DECLARE_ALIGNED(8, const uint64_t attribute_used, w04)= 0x0004000400040004LL; | 105 DECLARE_ASM_CONST(8, uint64_t, w04)= 0x0004000400040004LL; |
| 106 static DECLARE_ALIGNED(8, const uint64_t attribute_used, w20)= 0x0020002000200020LL; | 106 DECLARE_ASM_CONST(8, uint64_t, w20)= 0x0020002000200020LL; |
| 107 static DECLARE_ALIGNED(8, const uint64_t attribute_used, b00)= 0x0000000000000000LL; | 107 DECLARE_ASM_CONST(8, uint64_t, b00)= 0x0000000000000000LL; |
| 108 static DECLARE_ALIGNED(8, const uint64_t attribute_used, b01)= 0x0101010101010101LL; | 108 DECLARE_ASM_CONST(8, uint64_t, b01)= 0x0101010101010101LL; |
| 109 static DECLARE_ALIGNED(8, const uint64_t attribute_used, b02)= 0x0202020202020202LL; | 109 DECLARE_ASM_CONST(8, uint64_t, b02)= 0x0202020202020202LL; |
| 110 static DECLARE_ALIGNED(8, const uint64_t attribute_used, b08)= 0x0808080808080808LL; | 110 DECLARE_ASM_CONST(8, uint64_t, b08)= 0x0808080808080808LL; |
| 111 static DECLARE_ALIGNED(8, const uint64_t attribute_used, b80)= 0x8080808080808080LL; | 111 DECLARE_ASM_CONST(8, uint64_t, b80)= 0x8080808080808080LL; |
| 112 #endif | 112 #endif |
| 113 | 113 |
| 114 static const int attribute_used deringThreshold= 20; | 114 static const int attribute_used deringThreshold= 20; |
| 115 | 115 |
| 116 | 116 |
