Meego Wiki
From MeeGo wiki
Revision as of 02:07, 16 August 2010 by Ali1234 (Talk | contribs)
Jump to: navigation, search

Contents

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[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
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

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
Personal tools