~arminweigl

Germany

Recent activity

[PATCH hare] rt/cpuid: fix compilation on non x86_64 architectures a month ago

From Armin Weigl to ~sircmpwn/hare-dev

Signed-off-by: Armin Weigl <tb46305@gmail.com>
---
 rt/+aarch64/cpuid.ha       | 1 +
 rt/+aarch64/cpuid_native.s | 0
 rt/+riscv64/cpuid.ha       | 1 +
 rt/+riscv64/cpuid_native.s | 0
 scripts/gen-stdlib         | 4 ++--
 stdlib.mk                  | 8 ++++----
 6 files changed, 8 insertions(+), 6 deletions(-)
 create mode 100644 rt/+aarch64/cpuid.ha
 create mode 100644 rt/+aarch64/cpuid_native.s
 create mode 100644 rt/+riscv64/cpuid.ha
 create mode 100644 rt/+riscv64/cpuid_native.s

[PATCH harec 4/4] load_import: handle import of an enum type 2 months ago

From Armin Weigl to ~sircmpwn/hare-dev

Signed-off-by: Armin Weigl <tb46305@gmail.com>
---
 src/check.c | 47 +++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 41 insertions(+), 6 deletions(-)

diff --git a/src/check.c b/src/check.c
index 0f378e9..d5f7c69 100644
--- a/src/check.c
+++ b/src/check.c
@@ -3479,6 +3479,39 @@ exit:
	return obj;
}

static void
[message trimmed]

[PATCH harec 2/4] Revert "fix enum access for alias import" 2 months ago

From Armin Weigl to ~sircmpwn/hare-dev

This reverts commit cf8784d820bc8b8b97fc1a6eee4e93d37c512833.

Signed-off-by: Armin Weigl <tb46305@gmail.com>
---
 src/check.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/check.c b/src/check.c
index 23f22ed..aa08a23 100644
--- a/src/check.c
+++ b/src/check.c
@@ -3517,18 +3517,10 @@ load_import(struct context *ctx, struct ast_imports *import,
			if (obj->otype == O_SCAN) {
				continue;
[message trimmed]

[PATCH harec 3/4] Revert "fix enum access for member import" 2 months ago

From Armin Weigl to ~sircmpwn/hare-dev

This reverts commit 70a51c87202f7570ec83458c3e72c5532ebd9829.

Signed-off-by: Armin Weigl <tb46305@gmail.com>
---
 src/check.c | 28 +++-------------------------
 1 file changed, 3 insertions(+), 25 deletions(-)

diff --git a/src/check.c b/src/check.c
index aa08a23..0f378e9 100644
--- a/src/check.c
+++ b/src/check.c
@@ -3529,38 +3529,16 @@ load_import(struct context *ctx, struct ast_imports *import,
		for (struct ast_imports *member = import->members;
				member; member = member->next) {
[message trimmed]

[PATCH harec 1/4] Revert "fix enum access for namespace import" 2 months ago

From Armin Weigl to ~sircmpwn/hare-dev

This reverts commit db13800de14785bd52b9bed9d665817113e1d0af.

Signed-off-by: Armin Weigl <tb46305@gmail.com>
---
 src/check.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/check.c b/src/check.c
index f478eca..23f22ed 100644
--- a/src/check.c
+++ b/src/check.c
@@ -3498,10 +3498,6 @@ load_import(struct context *ctx, struct ast_imports *import,
			scope_insert(scope, obj->otype, &obj->ident,
				&obj->name, obj->type, obj->value);
[message trimmed]

[PATCH harec] gen_expr_unarithm: handle booleans >1 4 months ago

From Armin Weigl to ~sircmpwn/hare-dev

According to the spec any non-zero value should be treated as true

Signed-off-by: Armin Weigl <tb46305@gmail.com>
---
 src/gen.c            | 8 ++++----
 tests/29-unarithm.ha | 1 +
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/gen.c b/src/gen.c
index b4779f7..e6ba2ec 100644
--- a/src/gen.c
+++ b/src/gen.c
@@ -2711,15 +2711,15 @@ gen_expr_unarithm(struct gen_context *ctx,
		val = gen_expr(ctx, operand);
[message trimmed]

[PATCH harec&hare 2/2] rt/+freebsd/syscall+riscv64.s: Move parameters between registers 4 months ago

From Armin Weigl to ~sircmpwn/hare-dev

Signed-off-by: Armin Weigl <tb46305@gmail.com>
---
 rt/+freebsd/syscall+riscv64.s | 147 ++++++++--------------------------
 1 file changed, 35 insertions(+), 112 deletions(-)

diff --git a/rt/+freebsd/syscall+riscv64.s b/rt/+freebsd/syscall+riscv64.s
index 67f0bdb..6645eda 100644
--- a/rt/+freebsd/syscall+riscv64.s
+++ b/rt/+freebsd/syscall+riscv64.s
@@ -1,146 +1,69 @@
.section .text.rt.syscall0
.global rt.syscall0
rt.syscall0:
	addi sp, sp, -32
[message trimmed]

[PATCH harec&hare 1/2] rt/+linux/syscall+riscv64.s: Move parameters between registers 4 months ago

From Armin Weigl to ~sircmpwn/hare-dev

Signed-off-by: Armin Weigl <tb46305@gmail.com>
---
 rt/+linux/syscall+riscv64.s | 147 +++++++++---------------------------
 1 file changed, 35 insertions(+), 112 deletions(-)

diff --git a/rt/+linux/syscall+riscv64.s b/rt/+linux/syscall+riscv64.s
index 67f0bdb..6645eda 100644
--- a/rt/+linux/syscall+riscv64.s
+++ b/rt/+linux/syscall+riscv64.s
@@ -1,146 +1,69 @@
.section .text.rt.syscall0
.global rt.syscall0
rt.syscall0:
	addi sp, sp, -32
[message trimmed]

[PATCH sr.ht-debbuilds] Replace GPG key 9 months ago

From Armin Weigl to ~sircmpwn/sr.ht-packages

Signed-off-by: Armin Weigl <tb46305@gmail.com>
---
 debian/key.asc | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/debian/key.asc b/debian/key.asc
index cfdba02..ddf90c4 100644
--- a/debian/key.asc
+++ b/debian/key.asc
@@ -6,25 +6,25 @@ mQENBF0K1m0BCACWEcd8DtFCNAZHcmIH3c+MaluZJt9JwHQ7M4C0Dm2SDBqwIH5J
k3+CSQUwt1PyoTFsHeGLxn4qJzOxxt/PRLkQaYDZhkUhIpeIE/1batLSyoH4a4iK
Hp6f7TVjQ/OZYHAlRLudNu4/ddCnc4ykzY1GD5RNFd1/LFQ5gAwTx3yjG1aO7431
JhFUwmS/xkh1u/c4OLUh0Kt2JDE4f+uBMiTpABEBAAG0H1NvdXJjZUh1dCBEZWJp
YW4gPGRlYmlhbkBzci5odD6JAVQEEwEIAD4WIQRrEpbGWyRHJnTntlIFhbUKxqSR
[message trimmed]

[PATCH harec v3 2/2] gen_expr_list_with: stop on terminating expression 9 months ago

From Armin Weigl to ~sircmpwn/hare-dev

Signed-off-by: Armin Weigl <tb46305@gmail.com>
---
v3:
	fix typo
 src/gen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gen.c b/src/gen.c
index 2f7c70c..078722a 100644
--- a/src/gen.c
+++ b/src/gen.c
@@ -1037,7 +1037,7 @@ gen_expr_list_with(struct gen_context *ctx,
	push_scope(ctx);
	for (const struct expressions *exprs = &expr->list.exprs;
[message trimmed]