<lekernel>
for some reason divider/barrel/etc. switches are commented out in clang... hmm
<stekern>
yeah, I just saw that when I went looking in there to make sure you have setFeatureEnabled implemented
<lekernel>
of course, clang has to redefine all the accepted target features... they couldn't simply pull it automatically from LM32.td
<stekern>
don't get me started on that...
azonenberg has quit [Ping timeout: 245 seconds]
<lekernel>
seems to work... or at least produces a convicing object file ;)
<lekernel>
testing the code now...
<GitHub130>
[clang-lm32] sbourdeauducq pushed 1 new commit to master: http://git.io/n8SfTg
<GitHub130>
[clang-lm32/master] LM32: add options to enable/disable barrel shifter, multiplier and divider - Sebastien Bourdeauducq
<lekernel>
meh. it doesn't. still tries to use the extensions...
<lekernel>
also there's no subtarget feature for the sign extender
<stekern>
does it work if you do: clang -c -S file.c -emit-llvm -o - | llc -mattr=feature -o -
<stekern>
looks like sign extending is implemented though, but you maybe want to be able to turn it off?
<stekern>
(assuming that you are speaking about sextb and sexth)
<lekernel>
yes, it can be turned off using CFG_SIGN_EXTEND_ENABLED in Verilog, but there's no option in clang/llvm to disable usage of the corresponding instructions
antgreen has quit [Read error: Connection reset by peer]
antgreen has joined #milkymist
kristianpaul has quit [Quit: leaving]
kristianpaul has joined #milkymist
wolfspraul has quit [Ping timeout: 252 seconds]
wolfspraul has joined #milkymist
rejon has joined #milkymist
rejon has quit [Ping timeout: 240 seconds]
mumptai_ has quit [Ping timeout: 240 seconds]
wolfspraul has quit [Ping timeout: 264 seconds]
wolfspraul has joined #milkymist
mumptai has joined #milkymist
antgreen has quit [Remote host closed the connection]
rejon has joined #milkymist
wpwrak has quit [Ping timeout: 264 seconds]
xiangfu has quit [Ping timeout: 272 seconds]
wpwrak has joined #milkymist
wpwrak has quit [Ping timeout: 272 seconds]
wpwrak has joined #milkymist
rejon has quit [Ping timeout: 272 seconds]
kyak has quit [Ping timeout: 252 seconds]
wpwrak has quit [Ping timeout: 252 seconds]
Martoni has quit [Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713225625]]
azonenberg has joined #milkymist
hypermodern has joined #milkymist
kilae has quit [Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347]]
jimmythehorn has joined #milkymist
mumptai has quit [Remote host closed the connection]
mumptai has joined #milkymist
hypermodern has quit [Read error: Connection reset by peer]
mumptai has quit [Read error: Connection reset by peer]
hypermodern has joined #milkymist
kyak has joined #milkymist
kyak has joined #milkymist
hypermodern has quit [Read error: Connection reset by peer]
mumptai has joined #milkymist
fpgaminer has quit [Remote host closed the connection]
fpgaminer has joined #milkymist
wpwrak has joined #milkymist
kilae has joined #milkymist
wpwrak has quit [Ping timeout: 240 seconds]
lekernel_ has joined #milkymist
lekernel has quit [Ping timeout: 244 seconds]
mumptai has quit [Ping timeout: 264 seconds]
kilae has quit [Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347]]
<stekern>
lekernel_: I took a peek at why the target features aren't working, they are initialised to true in the constructor, but the subtarget features can only be turned on when parsing them (a -feature will just omit setting it to true), so any features that should be on by default should be handled by the feature parsing
<stekern>
I've got a patch that fixes it, I'll just go ahead and commit that, yell if I rather should post to the ML before committing
<GitHub189>
[llvm-lm32] skristiansson pushed 1 new commit to master: http://git.io/n1n1JA
<GitHub189>
[llvm-lm32/master] Initialise subtarget features to false in constructor - Stefan Kristiansson