diff options
Diffstat (limited to 'test/common-real-unsigned-char.qbe')
-rw-r--r-- | test/common-real-unsigned-char.qbe | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/common-real-unsigned-char.qbe b/test/common-real-unsigned-char.qbe new file mode 100644 index 0000000..4835e5a --- /dev/null +++ b/test/common-real-unsigned-char.qbe @@ -0,0 +1,12 @@ +export +function w $main() { +@start.1 +@body.2 + %.1 =w copy 1 + %.2 =w extub %.1 + %.3 =w copy 2 + %.4 =w extub %.3 + %.5 =w sub %.2, %.4 + %.6 =w csgtw %.5, 0 + ret %.6 +} |