Skip to content

Instantly share code, notes, and snippets.

@masterzorag
Created August 9, 2018 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masterzorag/dd8d1a770c915f7dc018f9d8d584c6a3 to your computer and use it in GitHub Desktop.
Save masterzorag/dd8d1a770c915f7dc018f9d8d584c6a3 to your computer and use it in GitHub Desktop.
0000000000401e30 <_Z17star_accell1_4sseR6t_star>:
401e30: 55 push %rbp
401e31: 48 89 e5 mov %rsp,%rbp
401e34: 53 push %rbx
401e35: 48 81 ec e8 00 00 00 sub $0xe8,%rsp
401e3c: 48 89 fb mov %rdi,%rbx
401e3f: e8 dc ee ff ff callq 400d20 <mcount@plt>
401e44: 0f 57 db xorps %xmm3,%xmm3
401e47: 0f 29 5d e0 movaps %xmm3,-0x20(%rbp)
401e4b: 0f 29 5d d0 movaps %xmm3,-0x30(%rbp)
401e4f: 48 2b 1d 32 33 20 00 sub 0x203332(%rip),%rbx # 605188 <_ZL4star>
401e56: 48 c1 eb 05 shr $0x5,%rbx
401e5a: 48 8b 0d e7 32 20 00 mov 0x2032e7(%rip),%rcx # 605148 <px>
401e61: 89 d8 mov %ebx,%eax
401e63: f3 0f 10 04 81 movss (%rcx,%rax,4),%xmm0
401e68: 0f c6 c0 00 shufps $0x0,%xmm0,%xmm0
401e6c: 0f 29 85 50 ff ff ff movaps %xmm0,-0xb0(%rbp)
401e73: 8d 73 01 lea 0x1(%rbx),%esi
401e76: f3 0f 10 04 b1 movss (%rcx,%rsi,4),%xmm0
401e7b: 0f c6 c0 00 shufps $0x0,%xmm0,%xmm0
401e7f: 0f 29 85 60 ff ff ff movaps %xmm0,-0xa0(%rbp)
401e86: 8d 7b 02 lea 0x2(%rbx),%edi
401e89: f3 0f 10 04 b9 movss (%rcx,%rdi,4),%xmm0
401e8e: 0f c6 c0 00 shufps $0x0,%xmm0,%xmm0
401e92: 0f 29 85 70 ff ff ff movaps %xmm0,-0x90(%rbp)
401e99: 83 c3 03 add $0x3,%ebx
401e9c: f3 0f 10 04 99 movss (%rcx,%rbx,4),%xmm0
401ea1: 0f c6 c0 00 shufps $0x0,%xmm0,%xmm0
401ea5: 0f 29 45 80 movaps %xmm0,-0x80(%rbp)
401ea9: 48 8b 15 a0 32 20 00 mov 0x2032a0(%rip),%rdx # 605150 <py>
401eb0: f3 0f 10 04 82 movss (%rdx,%rax,4),%xmm0
401eb5: 0f c6 c0 00 shufps $0x0,%xmm0,%xmm0
401eb9: 0f 29 45 90 movaps %xmm0,-0x70(%rbp)
401ebd: f3 0f 10 04 b2 movss (%rdx,%rsi,4),%xmm0
401ec2: 0f c6 c0 00 shufps $0x0,%xmm0,%xmm0
401ec6: 0f 29 45 a0 movaps %xmm0,-0x60(%rbp)
401eca: f3 0f 10 04 ba movss (%rdx,%rdi,4),%xmm0
401ecf: 0f c6 c0 00 shufps $0x0,%xmm0,%xmm0
401ed3: 0f 29 45 b0 movaps %xmm0,-0x50(%rbp)
401ed7: f3 0f 10 04 9a movss (%rdx,%rbx,4),%xmm0
401edc: 0f c6 c0 00 shufps $0x0,%xmm0,%xmm0
401ee0: 0f 29 45 c0 movaps %xmm0,-0x40(%rbp)
401ee4: f2 0f 10 65 d8 movsd -0x28(%rbp),%xmm4
401ee9: 0f 28 75 e0 movaps -0x20(%rbp),%xmm6
401eed: 31 f6 xor %esi,%esi
401eef: f2 0f 10 6d e8 movsd -0x18(%rbp),%xmm5
401ef4: 66 66 66 2e 0f 1f 84 data16 data16 nopw %cs:0x0(%rax,%rax,1)
401efb: 00 00 00 00 00
401f00: 0f 29 b5 20 ff ff ff movaps %xmm6,-0xe0(%rbp)
401f07: 0f 29 9d 10 ff ff ff movaps %xmm3,-0xf0(%rbp)
401f0e: 44 0f 28 0c b1 movaps (%rcx,%rsi,4),%xmm9
401f13: 45 0f 28 d9 movaps %xmm9,%xmm11
401f17: 44 0f 5c 9d 50 ff ff subps -0xb0(%rbp),%xmm11
401f1e: ff
401f1f: 41 0f 28 c1 movaps %xmm9,%xmm0
401f23: 0f 5c 85 60 ff ff ff subps -0xa0(%rbp),%xmm0
401f2a: 45 0f 28 e1 movaps %xmm9,%xmm12
401f2e: 44 0f 5c a5 70 ff ff subps -0x90(%rbp),%xmm12
401f35: ff
401f36: 44 0f 5c 4d 80 subps -0x80(%rbp),%xmm9
401f3b: 45 0f 28 c3 movaps %xmm11,%xmm8
401f3f: 45 0f 59 c0 mulps %xmm8,%xmm8
401f43: 44 0f 28 d0 movaps %xmm0,%xmm10
401f47: 44 0f 28 3c b2 movaps (%rdx,%rsi,4),%xmm15
401f4c: 41 0f 28 df movaps %xmm15,%xmm3
401f50: 45 0f 59 d2 mulps %xmm10,%xmm10
401f54: 45 0f 28 ec movaps %xmm12,%xmm13
401f58: 0f 5c 5d 90 subps -0x70(%rbp),%xmm3
401f5c: 41 0f 28 cf movaps %xmm15,%xmm1
401f60: 0f 5c 4d a0 subps -0x60(%rbp),%xmm1
401f64: 0f 28 f1 movaps %xmm1,%xmm6
401f67: 0f 29 b5 40 ff ff ff movaps %xmm6,-0xc0(%rbp)
401f6e: 41 0f 28 cf movaps %xmm15,%xmm1
401f72: 0f 5c 4d b0 subps -0x50(%rbp),%xmm1
401f76: 0f 29 8d 30 ff ff ff movaps %xmm1,-0xd0(%rbp)
401f7d: 45 0f 59 ed mulps %xmm13,%xmm13
401f81: 0f 28 d3 movaps %xmm3,%xmm2
401f84: 0f 59 d2 mulps %xmm2,%xmm2
401f87: 41 0f 58 d0 addps %xmm8,%xmm2
401f8b: 0f 28 fe movaps %xmm6,%xmm7
401f8e: 0f 59 ff mulps %xmm7,%xmm7
401f91: 41 0f 58 fa addps %xmm10,%xmm7
401f95: 44 0f 28 d1 movaps %xmm1,%xmm10
401f99: 45 0f 59 d2 mulps %xmm10,%xmm10
401f9d: 45 0f 58 d5 addps %xmm13,%xmm10
401fa1: 41 0f 28 f1 movaps %xmm9,%xmm6
401fa5: 44 0f 5c 7d c0 subps -0x40(%rbp),%xmm15
401faa: 0f 59 f6 mulps %xmm6,%xmm6
401fad: 45 0f 28 ef movaps %xmm15,%xmm13
401fb1: 45 0f 59 ed mulps %xmm13,%xmm13
401fb5: 44 0f 58 ee addps %xmm6,%xmm13
401fb9: 0f 51 d2 sqrtps %xmm2,%xmm2
401fbc: 44 0f 28 35 6c 23 00 movaps 0x236c(%rip),%xmm14 # 404330 <_IO_stdin_used+0xf0>
401fc3: 00
401fc4: 41 0f 58 d6 addps %xmm14,%xmm2
401fc8: 0f 53 f2 rcpps %xmm2,%xmm6
401fcb: 0f 59 d6 mulps %xmm6,%xmm2
401fce: 0f 28 0d 6b 23 00 00 movaps 0x236b(%rip),%xmm1 # 404340 <_IO_stdin_used+0x100>
401fd5: 44 0f 28 c1 movaps %xmm1,%xmm8
401fd9: 44 0f 5c c2 subps %xmm2,%xmm8
401fdd: 44 0f 59 c6 mulps %xmm6,%xmm8
401fe1: 44 0f 58 c6 addps %xmm6,%xmm8
401fe5: 0f 51 f7 sqrtps %xmm7,%xmm6
401fe8: 41 0f 58 f6 addps %xmm14,%xmm6
401fec: 0f 53 fe rcpps %xmm6,%xmm7
401fef: 0f 59 f7 mulps %xmm7,%xmm6
401ff2: 0f 28 d1 movaps %xmm1,%xmm2
401ff5: 0f 5c d6 subps %xmm6,%xmm2
401ff8: 0f 59 d7 mulps %xmm7,%xmm2
401ffb: 0f 58 d7 addps %xmm7,%xmm2
401ffe: 41 0f 51 f2 sqrtps %xmm10,%xmm6
402002: 41 0f 58 f6 addps %xmm14,%xmm6
402006: 0f 53 fe rcpps %xmm6,%xmm7
402009: 0f 59 f7 mulps %xmm7,%xmm6
40200c: 44 0f 28 d1 movaps %xmm1,%xmm10
402010: 44 0f 5c d6 subps %xmm6,%xmm10
402014: 41 0f 51 f5 sqrtps %xmm13,%xmm6
402018: 41 0f 58 f6 addps %xmm14,%xmm6
40201c: 44 0f 53 f6 rcpps %xmm6,%xmm14
402020: 41 0f 59 f6 mulps %xmm14,%xmm6
402024: 44 0f 28 e9 movaps %xmm1,%xmm13
402028: 44 0f 5c ee subps %xmm6,%xmm13
40202c: 44 0f 59 d7 mulps %xmm7,%xmm10
402030: 44 0f 58 d7 addps %xmm7,%xmm10
402034: 45 0f 59 ee mulps %xmm14,%xmm13
402038: 45 0f 58 ee addps %xmm14,%xmm13
40203c: 0f 28 0d 0d 23 00 00 movaps 0x230d(%rip),%xmm1 # 404350 <_IO_stdin_used+0x110>
402043: 0f 28 f1 movaps %xmm1,%xmm6
402046: 41 0f 59 f0 mulps %xmm8,%xmm6
40204a: 45 0f 59 c0 mulps %xmm8,%xmm8
40204e: 44 0f 59 c6 mulps %xmm6,%xmm8
402052: 0f 28 f1 movaps %xmm1,%xmm6
402055: 0f 59 f2 mulps %xmm2,%xmm6
402058: 0f 59 d2 mulps %xmm2,%xmm2
40205b: 0f 59 d6 mulps %xmm6,%xmm2
40205e: 0f 28 f1 movaps %xmm1,%xmm6
402061: 41 0f 59 f2 mulps %xmm10,%xmm6
402065: 45 0f 59 d2 mulps %xmm10,%xmm10
402069: 44 0f 59 d6 mulps %xmm6,%xmm10
40206d: 0f 28 f1 movaps %xmm1,%xmm6
402070: 41 0f 59 f5 mulps %xmm13,%xmm6
402074: 45 0f 59 ed mulps %xmm13,%xmm13
402078: 44 0f 59 ee mulps %xmm6,%xmm13
40207c: 45 0f 59 d8 mulps %xmm8,%xmm11
402080: 44 0f 59 c3 mulps %xmm3,%xmm8
402084: 0f 59 c2 mulps %xmm2,%xmm0
402087: 0f 59 95 40 ff ff ff mulps -0xc0(%rbp),%xmm2
40208e: 45 0f 59 e2 mulps %xmm10,%xmm12
402092: 44 0f 59 95 30 ff ff mulps -0xd0(%rbp),%xmm10
402099: ff
40209a: 45 0f 59 cd mulps %xmm13,%xmm9
40209e: 45 0f 59 ef mulps %xmm15,%xmm13
4020a2: 41 0f 28 f3 movaps %xmm11,%xmm6
4020a6: 0f 14 f0 unpcklps %xmm0,%xmm6
4020a9: 41 0f 28 c9 movaps %xmm9,%xmm1
4020ad: 66 41 0f 14 f4 unpcklpd %xmm12,%xmm6
4020b2: 0f c6 ce 20 shufps $0x20,%xmm6,%xmm1
4020b6: 0f c6 f1 24 shufps $0x24,%xmm1,%xmm6
4020ba: 44 0f 28 f0 movaps %xmm0,%xmm14
4020be: 45 0f c6 f3 11 shufps $0x11,%xmm11,%xmm14
4020c3: 41 0f 28 cb movaps %xmm11,%xmm1
4020c7: 45 0f c6 f4 d2 shufps $0xd2,%xmm12,%xmm14
4020cc: 0f 15 c8 unpckhps %xmm0,%xmm1
4020cf: 41 0f c6 c3 33 shufps $0x33,%xmm11,%xmm0
4020d4: 41 0f 28 f9 movaps %xmm9,%xmm7
4020d8: 41 0f c6 fe 21 shufps $0x21,%xmm14,%xmm7
4020dd: 44 0f c6 f7 24 shufps $0x24,%xmm7,%xmm14
4020e2: 41 0f c6 c4 f2 shufps $0xf2,%xmm12,%xmm0
4020e7: f2 44 0f 10 e1 movsd %xmm1,%xmm12
4020ec: 41 0f 28 c9 movaps %xmm9,%xmm1
4020f0: 41 0f c6 cc 22 shufps $0x22,%xmm12,%xmm1
4020f5: 44 0f c6 e1 24 shufps $0x24,%xmm1,%xmm12
4020fa: 44 0f c6 c8 23 shufps $0x23,%xmm0,%xmm9
4020ff: 44 0f 28 9d 10 ff ff movaps -0xf0(%rbp),%xmm11
402106: ff
402107: 41 0f 28 cb movaps %xmm11,%xmm1
40210b: 0f 14 cc unpcklps %xmm4,%xmm1
40210e: 66 44 0f 28 bd 20 ff movapd -0xe0(%rbp),%xmm15
402115: ff ff
402117: 66 41 0f 14 cf unpcklpd %xmm15,%xmm1
40211c: 0f 28 fd movaps %xmm5,%xmm7
40211f: 41 0f c6 c1 24 shufps $0x24,%xmm9,%xmm0
402124: 0f c6 f9 20 shufps $0x20,%xmm1,%xmm7
402128: 0f c6 cf 24 shufps $0x24,%xmm7,%xmm1
40212c: 0f 28 fa movaps %xmm2,%xmm7
40212f: 41 0f c6 f8 11 shufps $0x11,%xmm8,%xmm7
402134: 41 0f 28 dd movaps %xmm13,%xmm3
402138: 41 0f c6 fa d2 shufps $0xd2,%xmm10,%xmm7
40213d: 0f c6 df 21 shufps $0x21,%xmm7,%xmm3
402141: 0f c6 fb 24 shufps $0x24,%xmm3,%xmm7
402145: 41 0f c6 e3 11 shufps $0x11,%xmm11,%xmm4
40214a: 44 0f 58 f6 addps %xmm6,%xmm14
40214e: 41 0f c6 e7 d2 shufps $0xd2,%xmm15,%xmm4
402153: 0f c6 ec 21 shufps $0x21,%xmm4,%xmm5
402157: 0f c6 e5 24 shufps $0x24,%xmm5,%xmm4
40215b: 41 0f 58 c4 addps %xmm12,%xmm0
40215f: 0f 58 e7 addps %xmm7,%xmm4
402162: 41 0f 28 d8 movaps %xmm8,%xmm3
402166: 0f 14 da unpcklps %xmm2,%xmm3
402169: 66 41 0f 14 da unpcklpd %xmm10,%xmm3
40216e: 41 0f 28 ed movaps %xmm13,%xmm5
402172: 0f c6 eb 20 shufps $0x20,%xmm3,%xmm5
402176: 0f c6 dd 24 shufps $0x24,%xmm5,%xmm3
40217a: 41 0f 28 e8 movaps %xmm8,%xmm5
40217e: 0f 15 ea unpckhps %xmm2,%xmm5
402181: 41 0f c6 d0 33 shufps $0x33,%xmm8,%xmm2
402186: 41 0f c6 d2 f2 shufps $0xf2,%xmm10,%xmm2
40218b: f2 44 0f 10 d5 movsd %xmm5,%xmm10
402190: 41 0f 28 ed movaps %xmm13,%xmm5
402194: 41 0f c6 ea 22 shufps $0x22,%xmm10,%xmm5
402199: 44 0f c6 d5 24 shufps $0x24,%xmm5,%xmm10
40219e: 41 0f 58 c6 addps %xmm14,%xmm0
4021a2: 44 0f 58 d3 addps %xmm3,%xmm10
4021a6: 44 0f 58 d4 addps %xmm4,%xmm10
4021aa: 44 0f c6 ea 23 shufps $0x23,%xmm2,%xmm13
4021af: 0f 58 c8 addps %xmm0,%xmm1
4021b2: 41 0f c6 d5 24 shufps $0x24,%xmm13,%xmm2
4021b7: 41 0f 58 d2 addps %xmm10,%xmm2
4021bb: 0f 28 d9 movaps %xmm1,%xmm3
4021be: 0f 14 da unpcklps %xmm2,%xmm3
4021c1: 0f 28 ea movaps %xmm2,%xmm5
4021c4: 0f 12 ed movhlps %xmm5,%xmm5
4021c7: 0f 28 c1 movaps %xmm1,%xmm0
4021ca: 0f 12 c0 movhlps %xmm0,%xmm0
4021cd: 0f 28 f0 movaps %xmm0,%xmm6
4021d0: 0f 14 f5 unpcklps %xmm5,%xmm6
4021d3: 0f c6 e8 11 shufps $0x11,%xmm0,%xmm5
4021d7: 0f c6 e8 e2 shufps $0xe2,%xmm0,%xmm5
4021db: 0f 28 e2 movaps %xmm2,%xmm4
4021de: 0f c6 e1 11 shufps $0x11,%xmm1,%xmm4
4021e2: 48 83 c6 04 add $0x4,%rsi
4021e6: 48 81 fe 00 08 00 00 cmp $0x800,%rsi
4021ed: 0f c6 e1 e2 shufps $0xe2,%xmm1,%xmm4
4021f1: 0f 8c 09 fd ff ff jl 401f00 <_Z17star_accell1_4sseR6t_star+0xd0>
4021f7: 66 0f 14 dc unpcklpd %xmm4,%xmm3
4021fb: 66 0f 29 5d d0 movapd %xmm3,-0x30(%rbp)
402200: 66 0f 14 f5 unpcklpd %xmm5,%xmm6
402204: 66 0f 29 75 e0 movapd %xmm6,-0x20(%rbp)
402209: 48 8b 0d 58 2f 20 00 mov 0x202f58(%rip),%rcx # 605168 <ax>
402210: 0f 29 0c 81 movaps %xmm1,(%rcx,%rax,4)
402214: 48 8b 0d 55 2f 20 00 mov 0x202f55(%rip),%rcx # 605170 <ay>
40221b: 0f 29 14 81 movaps %xmm2,(%rcx,%rax,4)
40221f: 48 81 c4 e8 00 00 00 add $0xe8,%rsp
402226: 5b pop %rbx
402227: 5d pop %rbp
402228: c3 retq
402229: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment