(Created page with "== Finding SSSE3 Instructions in a Binary == I came up with this using http://en.wikipedia.org/wiki/SSSE3#New_Instructions objdump --disassemble-all <binary> | grep " \(psign[…") |
|||
| Line 1: | Line 1: | ||
| - | + | = Finding SSSE3 Instructions in a Binary = | |
I came up with this using http://en.wikipedia.org/wiki/SSSE3#New_Instructions | I came up with this using http://en.wikipedia.org/wiki/SSSE3#New_Instructions | ||
| Line 5: | Line 5: | ||
objdump --disassemble-all <binary> | grep " \(psign[bwd]\|pabs[bwd]\|palignr\|pshufb\|pmulhrsw\|pmaddubsw\|phsub[wd]\|phsubsw\|phadd[wd]\|phaddsw\) " | objdump --disassemble-all <binary> | grep " \(psign[bwd]\|pabs[bwd]\|palignr\|pshufb\|pmulhrsw\|pmaddubsw\|phsub[wd]\|phsubsw\|phadd[wd]\|phaddsw\) " | ||
| - | + | = Emulating Missing Instructions in the Kernel = | |
arjan: you can emulate instructions your cpu does not have quite well | arjan: you can emulate instructions your cpu does not have quite well | ||
| Line 16: | Line 16: | ||
arjan: but you could add the ssse3 instructions if you want | arjan: but you could add the ssse3 instructions if you want | ||
arjan: shouldn't be too hard | arjan: shouldn't be too hard | ||
| + | |||
| + | = Notes on Setting Up Private OBS (WIP) = | ||
| + | == Install openSUSE 11.3 inside a VM == | ||
| + | * yast2 - set static IP, DNS, default route and disable firewall (in Security) | ||
| + | * Enable sshd: | ||
| + | chkconfig --add sshd | ||
| + | == Install OBS Packages == | ||
| + | cd /etc/zypp/repos.d | ||
| + | wget http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.3/openSUSE:Tools.repo | ||
| + | zypper ref | ||
| + | zypper in obs-server | ||
Contents |
I came up with this using http://en.wikipedia.org/wiki/SSSE3#New_Instructions
objdump --disassemble-all <binary> | grep " \(psign[bwd]\|pabs[bwd]\|palignr\|pshufb\|pmulhrsw\|pmaddubsw\|phsub[wd]\|phsubsw\|phadd[wd]\|phaddsw\) "
arjan: you can emulate instructions your cpu does not have quite well ali1234: i didn't know there was such a patch... link please? arjan: either via a kernel hack or an ld preload library arjan: http://lkml.indiana.edu/hypermail/linux/kernel/0206.3/0631.html <-- old kernel hack that google found for me arjan: doing it as ld preload isn't too hard .. SIGILL is sent when an instruction is executed that the cpu does not grok ali1234: ah so you don't know that it exists specifically for ssse3? arjan: for ssse3? not that I know of arjan: but you could add the ssse3 instructions if you want arjan: shouldn't be too hard
chkconfig --add sshd
cd /etc/zypp/repos.d wget http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.3/openSUSE:Tools.repo zypper ref zypper in obs-server