summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
Diffstat (limited to 'lisc')
-rw-r--r--lisc/isel.c4
-rw-r--r--lisc/lisc.h1
-rw-r--r--lisc/parse.c1
3 files changed, 0 insertions, 6 deletions
diff --git a/lisc/isel.c b/lisc/isel.c
index a310d58..795380a 100644
--- a/lisc/isel.c
+++ b/lisc/isel.c
@@ -159,9 +159,6 @@ sel(Ins i, Fn *fn)
 	case OZext:
 		n = 0;
 		goto Emit;
-	case OTrunc:
-		n = 1;
-		goto Emit;
 	case OAdd:
 	case OSub:
 	case OMul:
@@ -262,7 +259,6 @@ flagi(Ins *i0, Ins *i)
 		case OCopy: /* flag-transparent */
 		case OSext:
 		case OZext:
-		case OTrunc:
 		case OStorel:
 		case OStorew:
 		case OStoreb:
diff --git a/lisc/lisc.h b/lisc/lisc.h
index a5312aa..81d3280 100644
--- a/lisc/lisc.h
+++ b/lisc/lisc.h
@@ -113,7 +113,6 @@ enum Op {
 	OAnd,
 	OSext,
 	OZext,
-	OTrunc,
 	OCmp,
 	OCmp1 = OCmp + NCmp-1,
 	OStorel,
diff --git a/lisc/parse.c b/lisc/parse.c
index 94d07ab..1508063 100644
--- a/lisc/parse.c
+++ b/lisc/parse.c
@@ -20,7 +20,6 @@ OpDesc opdesc[NOp] = {
 	[OAnd]    = { "and",    2, 2 },
 	[OSext]   = { "sext",   1, 1 },
 	[OZext]   = { "zext",   1, 1 },
-	[OTrunc]  = { "trunc",  1, 1 },
 	[OStorel] = { "storel", 2, 0 },
 	[OStorew] = { "storew", 2, 0 },
 	[OStores] = { "stores", 2, 0 },