[PATCH] D18962: [SystemZ] README: remove an implemented idea, add some new ones.

Marcin Koƛcielnicki via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 11 07:39:22 PDT 2016


koriakin updated this revision to Diff 53243.
koriakin added a comment.

Removed the shifts idea, clarified the signed overflow one.


Repository:
  rL LLVM

http://reviews.llvm.org/D18962

Files:
  lib/Target/SystemZ/README.txt

Index: lib/Target/SystemZ/README.txt
===================================================================
--- lib/Target/SystemZ/README.txt
+++ lib/Target/SystemZ/README.txt
@@ -43,11 +43,6 @@
 
 --
 
-We might want to use BRANCH ON CONDITION for conditional indirect calls
-and conditional returns.
-
---
-
 We don't use the TEST DATA CLASS instructions.
 
 --
@@ -166,3 +161,16 @@
 
 We might want to model all access registers and use them to spill
 32-bit values.
+
+--
+
+We might want to use 'j .+2' as a trap instruction, like gcc does.  It can
+also be made conditional like the return instruction, allowing us to utilize
+compare-and-trap and load-and-trap instructions.
+
+--
+
+We might want to use the 'overflow' condition of eg. AR to support
+llvm.sadd.with.overflow.i32 and related instructions - the generated code
+for signed overflow check is currently quite bad.  This would improve
+the results of using -ftrapv.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18962.53243.patch
Type: text/x-patch
Size: 932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160411/399b9211/attachment.bin>


More information about the llvm-commits mailing list