Commit: 8ae2f32b8c74130e430bcf2acd3390b72ba58e13
Parent: f9e395c48797c2b3326c0093ade88138fe4bea8a
Author: Michael Forney
Date: Thu, 8 Feb 2024 00:50:13 -0800
qbe: Update to latest git
Diffstat:
4 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/pkg/devel/qbe/config.h b/pkg/devel/qbe/config.h
@@ -1,2 +1 @@
-#define Defasm Gaself
#define Deftgt T_amd64_sysv
diff --git a/pkg/devel/qbe/gen.lua b/pkg/devel/qbe/gen.lua
@@ -5,8 +5,8 @@ cflags({
})
exe('qbe', [[
- abi.c alias.c cfg.c copy.c emit.c fold.c live.c load.c
- main.c mem.c parse.c rega.c simpl.c spill.c ssa.c util.c
+ main.c util.c parse.c abi.c cfg.c mem.c ssa.c alias.c load.c
+ copy.c fold.c simpl.c live.c spill.c rega.c emit.c
amd64/(targ.c sysv.c isel.c emit.c)
arm64/(targ.c abi.c isel.c emit.c)
rv64/(targ.c abi.c isel.c emit.c)
diff --git a/pkg/devel/qbe/patch/0001-amd64-optimize-loading-0-into-registers.patch b/pkg/devel/qbe/patch/0001-amd64-optimize-loading-0-into-registers.patch
@@ -1,4 +1,4 @@
-From 60bd04e4ff652b29139f0670aeb4401c50035e19 Mon Sep 17 00:00:00 2001
+From 55b93f727cbad62a13dce0136077b0ffb47b90d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Sun, 11 Jul 2021 19:19:12 -0300
Subject: [PATCH] amd64: optimize loading 0 into registers
@@ -23,7 +23,7 @@ Co-authored-by: Michael Forney <mforney@mforney.org>
2 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/amd64/emit.c b/amd64/emit.c
-index 297cc76..0f0437c 100644
+index 51d1a5c..a3e72e6 100644
--- a/amd64/emit.c
+++ b/amd64/emit.c
@@ -458,6 +458,18 @@ emitins(Ins i, Fn *fn, FILE *f)
diff --git a/pkg/devel/qbe/ver b/pkg/devel/qbe/ver
@@ -1 +1 @@
-d023bda r0
+v1.1-31-g2d683e0c53 r0