Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdos committed Aug 23, 2023
1 parent fb56fd3 commit ab3dc51
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/main.c.mako
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ int main(int argc, char *argv[]) {
if (test_id == ${test_id}) {
% if check_calling_convention:
#ifdef __x86_64__
register long rbx asm("%rbx");
register long r12 asm("%r12");
register long r13 asm("%r13");
register long r14 asm("%r14");
register long r15 asm("%r15");
register long rbx __asm__("%rbx");
register long r12 __asm__("%r12");
register long r13 __asm__("%r13");
register long r14 __asm__("%r14");
register long r15 __asm__("%r15");
rbx = MAGIC_0;
r12 = MAGIC_1;
r13 = MAGIC_2;
Expand Down

0 comments on commit ab3dc51

Please sign in to comment.