diff options
Diffstat (limited to 'src/cljcc/emit.clj')
| -rw-r--r-- | src/cljcc/emit.clj | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cljcc/emit.clj b/src/cljcc/emit.clj index 080886e..d326c55 100644 --- a/src/cljcc/emit.clj +++ b/src/cljcc/emit.clj @@ -60,6 +60,11 @@ :add "addl" :sub "subl" :mul "imull" + :bit-and "andl" + :bit-xor "xorl" + :bit-or "orl" + :bit-left-shift "sall" + :bit-right-shift "sarl" (throw (AssertionError. (str "Invalid binary operator: " instruction))))] [(format " %s %s, %s" binop-operator src dst)])) |
