Is it possible to force 16/32-bit stack alignment without using the optimizer?

The compiler emits code targeted at the classic Pentium architecture for the -m32 memory model.  I'm running into problems mixing Sun Studio compiled code with code built with other compilers because the other compiler builds under the assumption that the stack is 16-byte aligned.
The only way I've found to force Sun Studio to comply with that restriction is with -xarch={sse2a,sse3,...}, but this causes the code to pass through the optimizer.  As noted in the documentation, if you want to avoid optimizations you must remove all flags that imply optimizations -- that is to say, there's no way to disable optimizations once enabled.  This should not, however, be treated as an optimization because it's an ABI requirement.
I've scoured the documentation, spent many hours googling, digging through forums, and asking questions.
The best I've come up with is the -xarch option which is sub-optimal because it has side effects.  I tried -xchip=pentium4 (this is what my other compilers have set as their default target), but the generated code doesn't force 16-byte stack alignment.
Is there a way to force the compiler to emit code conforming to a different ABI without using the optimizer?
-Brian

Thank you for your response.
I hope you won't mind my asking: do you have a way to prove that it's not possible to force 16-byte alignment without using the optimizer?  I ask because your username / profile don't give the impression you work for Oracle, so while I think you're probably right it's at least possible that we're both mistaken.  I haven't been able to find any documentation on either stack alignment or altering the targeted ABI short of using the -xarch flag, and even there the details are fairly sketchy.
-Brian

Similar Messages

  • Is it possible to create a DVD in iDVD without using the themes they provide?

    Is it possible to create a DVD in iDVD without using the themes they provide?

    Hi
    No Menu DVD
    from. Mishmunken
    How to create a DVD in iDVD6 without menu (there are several options)
    1. Easy. Drop your iMovie in the auto-play box in iDVD's Map View, then set your auto-play item (your movie) to loop continuously.
    Disadvantage. The DVD plays until you hit stop on the remote
    2. Still easy. If you don't want your (auto-play) movie to loop, you can create a black theme by replacing the background of a static theme with a black background and no content in the drop-zone (text needs to be black as well).
    Disadvantage. The menu is still there and will play after the movie. You don't see it, but your disc keeps spinning in the player.
    3. Still quite easy but takes more time. Export the iMovie to DV tape, and then re-import using One-Step DVD.
    Disadvantage. One-Step DVD creation has been known to be not 100% reliable.
    4. (My preferred method) Easy enough but needs 3rd party software. Toast lets you burn your iMovie to DVD without menu - just drag the iMovie project to the Toast Window and click burn.
    Disadvantage. you'll need to spend some extra $$ for the software. In Toast, you just drop the iMovie project on the Window and click Burn.
    5. The "hard way". Post-production with myDVDedit (free-ware)
    Tools necessary. myDVDedit ( www.mydvdedit.com )
    • create a disc image of your iDVD project, then double-click to mount it.
    • Extract the VIDEO_TS and AUDIO_TS folders to a location of your choice. select the VIDEO_TS folder and hit Cmd + I to open the Inspector window
    • Set permissions to "read & write" and include all enclosed items; Ignore the warning.
    • Open the VIDEO_TS folder with myDVDedit. You'll find all items enclosed in your DVD in the left hand panel.
    • Select the menu (usually named VTS Menu) and delete it
    • Choose from the menu File > Test with DVD Player to see if your DVD behaves as planned. If it works save and close myDVDedit.
    • Before burning the folders to Video DVD, set permissions back to "read only", then create a disc image burnable with Disc Utility from a VIDEO_TS folder using Laine D. Lee's DVD Imager.
    //lonestar.utsa.edu/llee/applescript/dvdimager.html
    hope this helps!
    From LynnLU USA
    www.mediasoftmac.com/dvd-creator-articles/convert-mov-video-to-dvd-on-mac.html#1 29
    Yours Bengt W

  • Is it possible to store text in a table(colom) without losing the layout

    hello,
    I have a question and the question is:
    Is it possible to store text in a table(colom) without losing the layout?
    For the people who don't know what i presicly mean i will explain my question:
    Think of a memo field, i write a memo with bij example word or an internal editor of oracle, and if i wan't to store it in a colom with out losing the layout wich datatype for the colom should i use(if this is posibble).
    So when i whant to review the memo it has the same layout as when i wrote the memo.
    I hope someone can help me,
    thanks by regards,
    Menno

    Is your text field ("memo field") containing only text
    (ie of type VARCHAR2 or CLOB) ?
    If so, it should preserve your line returns and spaces.

  • I have just updated my 4s to IOS7. and now my battery discharge is significantly increase. With my Iphone fully charged, the battery run out within 6 hours without using the phone at all. Would it be possible to get the IOS 6.1.3 back to my 4S?

    I have just updated my 4s to IOS7. and now my battery discharge is significantly increase. With my Iphone fully charged, the battery run out within 6 hours without using the phone at all. Would it be possible to get the IOS 6.1.3 back to my 4S?

    Hi, thanks for the suggestion. I have tried as you suggested, and when opening the "purchased" apps some have the icloud logo next to them, but I only have "OPEN" against "Find My iPhone". When opening it up, it goes through the same routine; needs to be updated before proceeding, and wouldn't update because I don't have IOS8.
    Anything else I could try, or am I doomed!
    All of your help is much appreciated, thanks

  • On Excel 2013 (64 bit), I can't use the Analysis ToolPack add-ins without a problem and plot the residuals.

    On Excel 2013 (64 bit), I can't use the Analysis ToolPack add-ins without a problem and plot the residuals. It went crash.

    Hi,
    In regarding of the issue, please provide us more information to assist you better.
    Do you mind telling us the Excel version number? Like 15.0.XXXX.1000
    Would you like to collect the Event Log and App Crash dump file to do further troubleshooting?
    As far as I know, if Excel crashes when using Analysis ToolPack add-ins, it usually causes by the >>Faulting module name: mso.dll<<, Please try the following method and check if it is helpful:
    1.Copy/paste the Mso.dll from another PC.
    2.Click "Start" and "Computer."
    3.Double-click "C: Drive," "Windows" and "System32." The System32 folder opens.
    4.Drag the Mso.dll file on your desktop into the System32 folder.
    5.Click "Start," type "cmd" into the search field and press "Enter" to open the Command Prompt.
    6.Type "regsvr32 mso.dll" (without the quotation marks) into the Command Prompt and press "Enter."
    7.Close the Command Prompt and restart your computer.
    Then, if the Faulting module name is not MSO.Dll, you also can upload(Or send to us via email
    [email protected])  the Event Log/App Crash dump file. We'd like to do further troubleshooting.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • HT1766 iPhone 4s; Is it possible to sync apps to icloud without using the touchscreen?

    I've been using my iphone 4S with a cracked screen for over three months now (it fell on a tile floor hitting the top front corner first, 5 weeks after I got it) without any issues. Tonight I dropped it from a height of about 8 inches and the part of the face that was cracked made first contact with something that was on a table I was standing at, jamming it further into the phone. When I picked it up I noticed a small piece had also fallen out near an intersection of the cracks. The touchscreen is now completely black.
    My question: Is it possible to sync my apps to the icloud without using the iphone touchscreen? I plan I getting a new phone and had my icloud setup to sync my mail, contacts and calendars. I've been able to download all my pictures and video to my computer.

    Getting/reinstalling the apps isn't a problem. I'm only concerned with the data that is stored within them. For instance I have a mileage tracker I've been using but haven't uploaded the data from the phone to back it up anywhere. I'd like to do that before getting a new phone but I can't see what i'm doing due to the screen not working.
    The phone is actually still working and I've been able to use Siri to make calls and send texts without a working screen. The screen still accepts inputs apparently so if I could return settings to factory settings I could theoretically use another phone side by side to show me exactly where I need to touch and when to back up my applications to iClould.
    Going forward, I actually had ordered another case before my accident as my current case doesn't provide enough protection. It'd be nice if Apple actually made an iphone that didn't need such band-aids for normal usage.

  • Hi. I'm planning to buy an iPhone 6 handset only in America. No network. Is it possible? I'm British and is going to use the handset in United Kingdom using a local network in Uk. Thanks

    Hi. I'm planning to buy an iPhone 6 handset only in America. No network. Is it possible? I'm British and is going to use the handset in United Kingdom using a local network in Uk. Thanks

    None of the iPhones currently being sold in the US is carrier unlocked, so no, they will not work.

  • Is it possible to run a java program without using the command prompt?

    Hi,
    I was wondering whether it is possible to run a Java program (not an applet) without using a command line in the command prompt?
    Basically I want to run a program that will be continually running in the background and hence I don't want to have a command prompt screen loaded up as well - I just want the program to be running in the task bar.
    I know how to run the program in the task bar - but I still need to launch the program from the command prompt - is there anyway I can get a program running without having to start it from the command prompt?
    Cheers

    Or create a desktop shortcut (in Windows) or an application launcher ( in Linux GUI).

  • Is it possible to turn off my 4s without using the sleep/wake button?mine has broken but prefer to turn off overnight and when in work

    As above!

    It's no possible to turn it off without the sleep/wake button. You can use the mute switch while at work and at night.

  • Is it possible to simulate large-scal​e non-linear systems using the Simulation Toolkit?

    Hi,
    I am new to LabVIEW, having used Matlab/simulink for a few years. I am trying to simulate a relatively complex non-linear vehicle model. In Matlab/Simulink I would use an m-file to describe the system equations (i.e. x1_dot=..., x2_dot=..., etc.). Is there a similar method in LabVIEW? I have got a simple simulation running using the 'eval formula node', a very ungainly method of substituting variables, and an integrator in a 'simulation node'. It takes about an hour to run a simulation that takes 3 seconds in Matlab. I just need to know if it is realistic to do large-scale simulations in LabVIEW, or if it was not designed for that and I should persuede the management to go
    back to Matlab!!!
    If it is possible, where can I find help on the subject? I have spent a long time looking on the web and come up with very little.
    Many thanks in advance,
    Paul.

    If these are simple differential equations, easiest would be a for loop with a bunch of shift registers, one for each x1, x2, etc. containing the current values.
    In your case, you would calculate all the derivatives from the instantaneous values inside the loop, then add them to each value before feeding them to their respective shift register again.
    The attached very simple example shows how to generate an exponential decay function using the formula dx/dt= kx (and k is negative). The shift register in initialized with the starting condition x=1.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    DiffEQ.vi ‏33 KB

  • Is it possible to update my Creative Suite or must I use the Cloud? [was: Is this real?]

    Is it possible to update my regular CS? Or do I have to use this cloud-stuff with no alternative?

    Your concerns are justified.  Adobe will no longer provide you with meaningful tech support.  I have an office with 5 designers and CS6.  i was forced to upgrade to Creative Cloud after a few of the users could no longer work on some important documents.  Adobe support only response was that they could not help us unless we upgraded to CC.  Once we upgraded the problem continued and they finally helped us solve the issue.   Its very simple.  Adobe doesnt want there customers to own anything.  You must buy the software for a least a year via subscription and have your work held hostage.  My advise is to start finding and using other tools.  We have started researching other tools. 

  • Is it possible to have 2 display names (one for internal use; the other for external use) in Active Directory?

    The idea:
    When communicating amongst our own staff via email we'd like to see our display names in this format:
    Firstname Lastname (Division/Department/Branch/Unit)
    Whereas, when we send emails to people outside the company, we'd like to be seen as:
    Firstname Lastname (Company Name)
    Is this technically possible?
    Regards,
    Anthony

    Please read about Exchange Simple Display Name if you are using Exchange in your environment. It should be suitable for your needs, but as far I know not every Exchange version support it.
    In Exchange 2003 this Simple Display Name was at Advanced tab of user, but now..
    With Exchange 2013, SimpleDisplayName is configured using Exchange Management Shell (EMS)
    Example:
    Set-Mailbox ALIAS -SimpleDisplayName $True
    ..and as with Exchange 2007/2010, you will need to enable UseSimpleDisplayName on RemoteDomain.
    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

  • Is it possible to have a Lion OS and snow Leopard using the bootcamp?

    I bought a macbook pro 13" 2011. I have other programs that will run only in Snow Leopard OS just like Logic Pro 8. Is it possible to install snow leopard aside from my current Lion OS? How to install? Is it possible to use both OS in my mac? I need your help. Thanks!

    OOPS!  I just noticed you actually have Lion, and want to go back to Snow Leopard.  That may or may not work.  The first test would be to see if you can boot your new MacBook 13" from a Snow Leopard installation DVD, or from another Mac in Firewire Target mode, or a bootable external Snow Leopard disk (SuperDuper or Carbon Copy Cloner created).
    If that works, then Yes, but before trying anything make sure you have full backups (SuperDuper or Carbon Copy Cloner, or even TimeMachine).  2 copies would be even better.
    Bootcamp is not needed.  Bootcamp is an aid to installing and running the Windows OS
    You can install Lion on an exteernal disk, and boot from that by holding down the Option key during boot.
    You can repartition your internal disk so you have 2 partitions.  You restore your Snow Leopard backup to one partition, and install Lion on the other.  You can choose to boot into either partition by holding own the Option key during boot.  You could also use System Preferences -> Startup Disk to switch between Snow Leopard and Lion.
    You can use virtual machine software (VMware Fusion, Parallels, VirtualBox) on Snow Leopard (does not work the other way), then install Lion in a virtual machine (your MacBook should have a minimum of 4GB if you are going to try this).  This would allow you to run Snow Leopard and Lion at the same time.
    You could buy one of those kits that replaces your DVD drive with a Solid State Disk (SSD), and instlal Lion on the SSD, and again boot holding the Option key or use Startup Disk system pref to switch between the OS versions.
    Message was edited by: BobHarris

  • 32-bit Vista, can I use the Cloud??

    Hi,
    I understand most of the CS6 products are for 64-bit systems now.  I download DW CS6 trial and it works fine on my system -- no problems there. 
    However, I need Photoshop, Illustrator, InDesign, Acrobat, Edge to run on Vista, 32-bit.  I have no immediate plans to upgrade computers until next year well after Win 8 is released. 
    In the interum, will I have access to 32-bit versions (CS5 or CS5.5) on the Cloud?
    Thanks,
    Nancy O.

    Here is a page with the technical specs for CS 6: http://www.adobe.com/products/creativesuite/mastercollection/tech-specs.html.
    64-bit only applications are Premiere Pro, After Effects and Encore. (Encore is part of the Premiere Pro installation and does not have a download/trial link).
    In addition Edge Preview does not run on Windows XP (even XP 64) or Mac OS 10.5.
    In these cases the download/trial option does not appear on the Apps & Services page http://creative.adobe.com/apps

  • Is it possible to transfer existing messages from iPhone to Mac using the new iMessage app?

    I want to store my previous messages on my computer and I was wondering if that is possible.

    Althought,you can use bluetooth to transfer photos,files from iPhone to Macbook,However,it is so slowly,if you want to quickly copy photos/files from iPhone to Mac,you can use tools or software to help you,such as iStonsoft iPhone to Mac Transfer,This is a very professional tool,Hope this helps!
    How to Transfer photos/files from iPhone to Mac

Maybe you are looking for