projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5ab800
)
[project @ 2002-02-04 16:47:47 by sewardj]
author
sewardj
<unknown>
Mon, 4 Feb 2002 16:47:47 +0000
(16:47 +0000)
committer
sewardj
<unknown>
Mon, 4 Feb 2002 16:47:47 +0000
(16:47 +0000)
Implement missing MachOp, MO_8U_to_32U, for sparc. (duh!)
ghc/compiler/nativeGen/MachCode.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/MachCode.lhs
b/ghc/compiler/nativeGen/MachCode.lhs
index
a193401
..
4ef1fce
100644
(file)
--- a/
ghc/compiler/nativeGen/MachCode.lhs
+++ b/
ghc/compiler/nativeGen/MachCode.lhs
@@
-1265,6
+1265,7
@@
getRegister (StMachOp mop [x]) -- unary PrimOps
MO_NatP_to_NatS -> conversionNop IntRep x
-- sign-extending widenings
+ MO_8U_to_32U -> integerExtend False 24 x
MO_8U_to_NatU -> integerExtend False 24 x
MO_8S_to_NatS -> integerExtend True 24 x
MO_16U_to_NatU -> integerExtend False 16 x