aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2019-08-07 17:17:54 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2019-08-07 17:17:54 -0700
commitd2de48925e65d8088910ffb19d6c8be88980f2f2 (patch)
treec17d5b07e0cc75b4e668f992f83722d2b85c7e2c
parent875eb24b29a6b4274c37f1dcf23a956c4102552d (diff)
downloadnasm-d2de48925e65d8088910ffb19d6c8be88980f2f2.tar.gz
nasm-d2de48925e65d8088910ffb19d6c8be88980f2f2.tar.xz
nasm-d2de48925e65d8088910ffb19d6c8be88980f2f2.zip
br3392586: add test case for smacro descent
Add test case for smacro descent from bug 3392586. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r--test/br3392586.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/br3392586.asm b/test/br3392586.asm
new file mode 100644
index 00000000..6a342369
--- /dev/null
+++ b/test/br3392586.asm
@@ -0,0 +1,8 @@
+ bits 32
+%define CACHE_SIZE 32
+%define MAXHEIGHT 1024
+%define DPS_MAXSPANS MAXHEIGHT+1
+%define spanpackage_t_size 32
+%define SPAN_SIZE (((DPS_MAXSPANS + 1 + ((CACHE_SIZE - 1) / spanpackage_t_size)) + 1) * spanpackage_t_size)
+D_PolysetDraw:
+ sub esp,SPAN_SIZE