communication techniques bench: typo
This commit is contained in:
parent
4cdee1503e
commit
b522ce373f
|
@ -28,7 +28,8 @@ extern struct thread_comm *tcomms;
|
|||
__BEGIN_DECLS
|
||||
|
||||
void init_thread_comm(void);
|
||||
static inline void send(void **addr) {
|
||||
static inline void send(void **addr)
|
||||
{
|
||||
asm volatile("mov %%gs:channel@NTPOFF + 2 *" toString(BUF_SIZE) " + " toString(CACHE_LINE_SIZE) ", %%eax\n\t"
|
||||
"mov %0, %%gs:channel@NTPOFF(%%eax)\n\t"
|
||||
"addl $4, %%eax\n\t"
|
||||
|
|
Loading…
Reference in New Issue