__restrict__ c++98

void f34(int &__restrict__ a, int & b, int &__restrict__ c){
    a += c;
    b += c;
}

void f35(int & a, int & b, int & c){
    a += c;
    b += c;
}

 

 

0000000000000020 <_Z3f34RiS_S_>:
  20:    8b 02                    mov    (%rdx),%eax
  22:    01 07                    add    %eax,(%rdi)
  24:    01 06                    add    %eax,(%rsi)
  26:    c3                       retq   
  27:    66 0f 1f 84 00 00 00     nopw   0x0(%rax,%rax,1)
  2e:    00 00

0000000000000030 <_Z3f35RiS_S_>:
  30:    8b 02                    mov    (%rdx),%eax
  32:    01 07                    add    %eax,(%rdi)
  34:    8b 02                    mov    (%rdx),%eax
  36:    01 06                    add    %eax,(%rsi)
  38:    c3                       retq   

原文链接: https://www.cnblogs.com/Janly/p/12530322.html

欢迎关注

微信关注下方公众号,第一时间获取干货硬货;公众号内回复【pdf】免费获取数百本计算机经典书籍;

也有高质量的技术群,里面有嵌入式、搜广推等BAT大佬

    __restrict__ c++98

原创文章受到原创版权保护。转载请注明出处:https://www.ccppcoding.com/archives/336502

非原创文章文中已经注明原地址,如有侵权,联系删除

关注公众号【高性能架构探索】,第一时间获取最新文章

转载文章受原作者版权保护。转载请注明原作者出处!

(0)
上一篇 2023年3月1日 下午10:40
下一篇 2023年3月1日 下午10:40

相关推荐