about summary refs log tree commit diff stats
path: root/archive/2024/winter/bsc_dichler/experiments/malloc/Makefile
blob: 9de6ef2898aa0645dd20cd233ffc8a7270a16bfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
CC=gcc
CFLAGS=-O3
CFLAGS += -Wa,--noexecstack

default:
	make clean malloc malloc_mte
	bash benchmark.sh

malloc:
	$(CC) $(CFLAGS) -o malloc \
		-DALLOCATIONS=16777216 \
		main.c \
		../allocator/allocator.c

malloc_mte:
	$(CC) $(CFLAGS) -o malloc_mte \
		-DALLOCATIONS=16777216 \
		-DMTE -march=armv8.5-a+memtag \
		main.c \
		../allocator/tag_region.S \
		../allocator/allocator.c


clean:
	rm -rf results/ malloc malloc_mte