All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login


All New Register Login
's Avatar

bx

Joined 3 weeks ago

Recently created
Least recently created
Recently updated
Least recently updated
All gists 1
bx's Avatar

bx / push-bit.c

0 likes
0 forks
1 files
Last active 3 weeks ago
1
2 #include <stdio.h>
3 #include <stdint.h>
4
5 uint64_t *bits = (uint64_t[64]) { 0 };
6 uint64_t top = 0;
7
8 /* gcc push-bit.c -O3 && objdump -D a.out | less
9 0000000000001240 <get_bit>:
10 1240: 48 8b 05 f1 2d 00 00 mov 0x2df1(%rip),%rax # 4038 <bits>
Newer Older

Powered by Opengist ⋅ Load: 16ms⋅

日本語
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文