Skip to content

Commit

Permalink
Attempt with macros
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 committed Apr 21, 2024
1 parent f936005 commit 4399891
Show file tree
Hide file tree
Showing 6 changed files with 189 additions and 189 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 27 additions & 27 deletions results/dynamic_uniform_buffer_write_into_slice.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.text
.file "dynamic_uniform_buffer_write_into_slice.bbd673010425c66f-cgu.0"
.file "dynamic_uniform_buffer_write_into_slice.f128d0871f933acf-cgu.0"
.section .text.dynamic_uniform_buffer_write_into_slice,"ax",@progbits
.globl dynamic_uniform_buffer_write_into_slice
.p2align 4, 0x90
Expand All @@ -20,7 +20,7 @@ dynamic_uniform_buffer_write_into_slice:
movl $256, %edi
callq *encase::core::alignment_value::AlignmentValue::new@GOTPCREL(%rip)
movb $0, 11(%rsp)
leaq .Lanon.7678628f5a1ba2ee30b953b825a9e909.0(%rip), %rax
leaq .Lanon.6877226d346c891e5f9bfb52a7debf03.0(%rip), %rax
movq %rax, 12(%rsp)
movq $35, 20(%rsp)
movw $1, 28(%rsp)
Expand All @@ -33,7 +33,7 @@ dynamic_uniform_buffer_write_into_slice:
xorl %edx, %edx
callq *%r15
movb $0, 34(%rsp)
leaq .Lanon.7678628f5a1ba2ee30b953b825a9e909.1(%rip), %rax
leaq .Lanon.6877226d346c891e5f9bfb52a7debf03.1(%rip), %rax
movq %rax, 35(%rsp)
movq $18, 43(%rsp)
movw $1, 51(%rsp)
Expand All @@ -45,7 +45,7 @@ dynamic_uniform_buffer_write_into_slice:
xorl %edx, %edx
callq *%r15
movb $0, 57(%rsp)
leaq .Lanon.7678628f5a1ba2ee30b953b825a9e909.2(%rip), %rax
leaq .Lanon.6877226d346c891e5f9bfb52a7debf03.2(%rip), %rax
movq %rax, 58(%rsp)
movq $1, 66(%rsp)
movw $1, 74(%rsp)
Expand All @@ -63,7 +63,7 @@ dynamic_uniform_buffer_write_into_slice:
leaq 57(%rsp), %rax
movq %rax, 160(%rsp)
movq $1, 168(%rsp)
leaq .Lanon.7678628f5a1ba2ee30b953b825a9e909.4(%rip), %rdx
leaq .Lanon.6877226d346c891e5f9bfb52a7debf03.4(%rip), %rdx
leaq 96(%rsp), %rdi
movl $5, %esi
callq *const_panic::concat_panic_::concat_panic@GOTPCREL(%rip)
Expand All @@ -83,37 +83,37 @@ dynamic_uniform_buffer_write_into_slice:
.size <dynamic_uniform_buffer_write_into_slice::A as encase::core::traits::ShaderType>::size, .Lfunc_end1-<dynamic_uniform_buffer_write_into_slice::A as encase::core::traits::ShaderType>::size
.cfi_endproc

.type .Lanon.7678628f5a1ba2ee30b953b825a9e909.0,@object
.section .rodata..Lanon.7678628f5a1ba2ee30b953b825a9e909.0,"a",@progbits
.Lanon.7678628f5a1ba2ee30b953b825a9e909.0:
.type .Lanon.6877226d346c891e5f9bfb52a7debf03.0,@object
.section .rodata..Lanon.6877226d346c891e5f9bfb52a7debf03.0,"a",@progbits
.Lanon.6877226d346c891e5f9bfb52a7debf03.0:
.ascii "array stride must be a multiple of "
.size .Lanon.7678628f5a1ba2ee30b953b825a9e909.0, 35
.size .Lanon.6877226d346c891e5f9bfb52a7debf03.0, 35

.type .Lanon.7678628f5a1ba2ee30b953b825a9e909.1,@object
.section .rodata..Lanon.7678628f5a1ba2ee30b953b825a9e909.1,"a",@progbits
.Lanon.7678628f5a1ba2ee30b953b825a9e909.1:
.type .Lanon.6877226d346c891e5f9bfb52a7debf03.1,@object
.section .rodata..Lanon.6877226d346c891e5f9bfb52a7debf03.1,"a",@progbits
.Lanon.6877226d346c891e5f9bfb52a7debf03.1:
.ascii " (current stride: "
.size .Lanon.7678628f5a1ba2ee30b953b825a9e909.1, 18
.size .Lanon.6877226d346c891e5f9bfb52a7debf03.1, 18

.type .Lanon.7678628f5a1ba2ee30b953b825a9e909.2,@object
.section .rodata..Lanon.7678628f5a1ba2ee30b953b825a9e909.2,"a",@progbits
.Lanon.7678628f5a1ba2ee30b953b825a9e909.2:
.type .Lanon.6877226d346c891e5f9bfb52a7debf03.2,@object
.section .rodata..Lanon.6877226d346c891e5f9bfb52a7debf03.2,"a",@progbits
.Lanon.6877226d346c891e5f9bfb52a7debf03.2:
.byte 41
.size .Lanon.7678628f5a1ba2ee30b953b825a9e909.2, 1
.size .Lanon.6877226d346c891e5f9bfb52a7debf03.2, 1

.type .Lanon.7678628f5a1ba2ee30b953b825a9e909.3,@object
.section .rodata..Lanon.7678628f5a1ba2ee30b953b825a9e909.3,"a",@progbits
.Lanon.7678628f5a1ba2ee30b953b825a9e909.3:
.ascii "/home/james/.cargo/git/checkouts/encase-7716fa7dbfd7bb15/f710173/src/types/array.rs"
.size .Lanon.7678628f5a1ba2ee30b953b825a9e909.3, 83
.type .Lanon.6877226d346c891e5f9bfb52a7debf03.3,@object
.section .rodata..Lanon.6877226d346c891e5f9bfb52a7debf03.3,"a",@progbits
.Lanon.6877226d346c891e5f9bfb52a7debf03.3:
.ascii "/home/james/.cargo/git/checkouts/encase-7716fa7dbfd7bb15/ada1631/src/types/array.rs"
.size .Lanon.6877226d346c891e5f9bfb52a7debf03.3, 83

.type .Lanon.7678628f5a1ba2ee30b953b825a9e909.4,@object
.section .data.rel.ro..Lanon.7678628f5a1ba2ee30b953b825a9e909.4,"aw",@progbits
.type .Lanon.6877226d346c891e5f9bfb52a7debf03.4,@object
.section .data.rel.ro..Lanon.6877226d346c891e5f9bfb52a7debf03.4,"aw",@progbits
.p2align 3, 0x0
.Lanon.7678628f5a1ba2ee30b953b825a9e909.4:
.quad .Lanon.7678628f5a1ba2ee30b953b825a9e909.3
.Lanon.6877226d346c891e5f9bfb52a7debf03.4:
.quad .Lanon.6877226d346c891e5f9bfb52a7debf03.3
.asciz "S\000\000\000\000\000\000\0000\000\000\000\021\000\000"
.size .Lanon.7678628f5a1ba2ee30b953b825a9e909.4, 24
.size .Lanon.6877226d346c891e5f9bfb52a7debf03.4, 24

.ident "rustc version 1.76.0 (07dca489a 2024-02-04)"
.section ".note.GNU-stack","",@progbits
2 changes: 1 addition & 1 deletion results/storage_buffer_write_into_slice.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.text
.file "storage_buffer_write_into_slice.63d7a3dc1c178d91-cgu.0"
.file "storage_buffer_write_into_slice.b24b85a44e3871b0-cgu.0"
.section .text.storage_buffer_write_into_slice,"ax",@progbits
.globl storage_buffer_write_into_slice
.p2align 4, 0x90
Expand Down
Loading

0 comments on commit 4399891

Please sign in to comment.