Go to the documentation of this file.
21 #ifndef AVUTIL_TOMI_INTREADWRITE_H
22 #define AVUTIL_TOMI_INTREADWRITE_H
27 #define AV_RB16 AV_RB16
31 __asm__ (
"loadacc, (%1+) \n\t"
40 #define AV_WB16 AV_WB16
43 __asm__
volatile (
"loadacc, %1 \n\t"
45 "storeacc, (%0+) \n\t"
47 "storeacc, (%0+) \n\t"
51 #define AV_RL16 AV_RL16
55 __asm__ (
"loadacc, (%1+) \n\t"
64 #define AV_WL16 AV_WL16
67 __asm__
volatile (
"loadacc, %1 \n\t"
68 "storeacc, (%0+) \n\t"
70 "storeacc, (%0+) \n\t"
74 #define AV_RB32 AV_RB32
78 __asm__ (
"loadacc, (%1+) \n\t"
96 #define AV_WB32 AV_WB32
99 __asm__
volatile (
"loadacc, #4 \n\t"
102 "storeacc, (-%0) \n\t"
104 "storeacc, (-%0) \n\t"
106 "storeacc, (-%0) \n\t"
108 "storeacc, (-%0) \n\t"
109 :
"+&a"(p) :
"r"(v));
112 #define AV_RL32 AV_RL32
116 __asm__ (
"loadacc, (%1+) \n\t"
118 "loadacc, (%1+) \n\t"
121 "loadacc, (%1+) \n\t"
125 "loadacc, (%1+) \n\t"
134 #define AV_WL32 AV_WL32
137 __asm__
volatile (
"loadacc, %1 \n\t"
138 "storeacc, (%0+) \n\t"
140 "storeacc, (%0+) \n\t"
142 "storeacc, (%0+) \n\t"
144 "storeacc, (%0+) \n\t"
145 :
"+&a"(p) :
"r"(v));