[hackers] [scc] [cc2] Fix qbe operator for truncd instruction || Quentin Rameau

From: <git_AT_suckless.org>
Date: Thu, 19 May 2016 20:21:18 +0200 (CEST)

commit 1b7566d98a33a1c01eff33a31fd4155dce0b543a
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Thu May 19 12:58:31 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Thu May 19 20:20:41 2016 +0200

    [cc2] Fix qbe operator for truncd instruction

diff --git a/cc2/arch/qbe/code.c b/cc2/arch/qbe/code.c
index 9d5e8c9..a06fbd6 100644
--- a/cc2/arch/qbe/code.c
+++ b/cc2/arch/qbe/code.c
_AT_@ -121,7 +121,7 @@ static struct opdata {
         [ASSLTOS] = {.fun = unary, .txt = "sltof", .letter = 's'},
 
         [ASEXTS] = {.fun = unary, .txt = "exts", .letter = 'd'},
- [ASSLTOS]= {.fun = unary, .txt = "truncd", .letter = 's'},
+ [ASTRUNCD] = {.fun = unary, .txt = "truncd", .letter = 's'},
 
         [ASBRANCH] = {.fun = branch},
         [ASJMP] = {.fun = jmp},
Received on Thu May 19 2016 - 20:21:18 CEST

This archive was generated by hypermail 2.3.0 : Thu May 19 2016 - 20:24:16 CEST