forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hexagon] Adding add64 and sub64 instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222795 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
Colin LeMahieu
committed
Nov 25, 2014
1 parent
7c45f13
commit 5bf7bcf
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \ | ||
;; RUN: | llvm-objdump -s - | FileCheck %s | ||
|
||
define i64 @foo (i64 %a, i64 %b) | ||
{ | ||
%1 = add i64 %a, %b | ||
ret i64 %1 | ||
} | ||
|
||
; CHECK: 0000 e04200d3 00c09f52 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \ | ||
;; RUN: | llvm-objdump -s - | FileCheck %s | ||
|
||
define i64 @foo (i64 %a, i64 %b) | ||
{ | ||
%1 = sub i64 %a, %b | ||
ret i64 %1 | ||
} | ||
|
||
; CHECK: 0000 e04022d3 00c09f52 |