Search:

Type: Posts; User: Lina

Search: Search took 0.00 seconds.

  1. Thread: Simple Proxy

    by Lina
    Replies
    0
    Views
    17,396

    Simple Proxy

    Hi,

    The following code is for a simpleWeb server. Can you please help me in modifying this code so that I implement a basic proxy that handles requests one at a time. When started,the proxy should...
  2. Replies
    30
    Views
    5,313

    M=83, N=97, system clock rate=3190 MHz Error...

    M=83, N=97, system clock rate=3190 MHz

    Error in poly2d_dave
    x=1.062500 y=-0.937500 Output = 3538.000000 but should be 44581.437500
  3. Replies
    30
    Views
    5,313

    when i tested the following, it gave me wrong...

    when i tested the following, it gave me wrong results.
  4. Replies
    30
    Views
    5,313

    can you show how you would do it coz i tried to...

    can you show how you would do it coz i tried to do it and i didn't work
  5. Replies
    30
    Views
    5,313

    Hi, whenever i type static val_t...

    Hi,

    whenever i type

    static val_t coeffs[M][N] = {0};
    i get an error tha says=
    missing braces around initializer
    (near initialization for `coffs[0]')
    why is that?
  6. Replies
    30
    Views
    5,313

    This following is what i got but it is really...

    This following is what i got but it is really slow ACPE=11.8 and i have to get <3
    please help. I'm really desperate


    val_t poly2d_h(val_t C[M][N]) {


    val_t sol = (val_t)0;
    val_t x =...
  7. Replies
    30
    Views
    5,313

    we have to be optimizing the performance of a...

    we have to be optimizing the performance of a function f that computes the value of a bivariate polynomial of order M + N over variables x and y:
    where C[i][j] is the coefficient of the x^i y^j...
  8. Replies
    30
    Views
    5,313

    amortized cycles per matrix element (ACPE), where...

    amortized cycles per matrix element (ACPE), where ACPE is defined as the total number of CPU cycles to perform the polynomial calculation divided by M &#215; N, the number of elements in the matrix C.
  9. Replies
    30
    Views
    5,313

    how can the pointers be caluclated once at the...

    how can the pointers be caluclated once at the start of the loop?
  10. Replies
    30
    Views
    5,313

    Hi Onion Knigt, my function has to looke like...

    Hi Onion Knigt,

    my function has to looke like following:


    val_t poly2d_anyName(val_t C[M][N]) {
    /* play with what is inside the function to make it run faster*/
    }
  11. Replies
    30
    Views
    5,313

    the flollowing is a simple way of implementing...

    the flollowing is a simple way of implementing the function, then it's optimized to the one i posted earlier. Now, i want to optimize it more. So i thought that implemting Horner's rule would make it...
  12. Replies
    30
    Views
    5,313

    Optimizing my code

    Hi,
    i have to write a poly2d function that runs fast.
    The following that i have is not fast, it is 7.06 ACPE, i know that Horner’s
    rule would make it much faster but i don't know how to modify...
  13. Thread: binary bomb

    by Lina
    Replies
    6
    Views
    8,096

    binary bomb

    i'm working on the binary bomb assignment, i've defused phase_1 bomb , but not phase_2.

    Please help me on doing so

    this following is the disassmbled code using objdump


    08048b80 <phase_2>:...
  14. Thread: Dealing with bits

    by Lina
    Replies
    25
    Views
    11,480

    what is this number 0x80000000?

    what is this number 0x80000000?
  15. Thread: Dealing with bits

    by Lina
    Replies
    25
    Views
    11,480

    Hi SirNot, would u please explain for me what...

    Hi SirNot,

    would u please explain for me what does that line do??


    neg = (signed int)(i & 0x80000000) >> 31;

    Thanx alot
  16. Thread: Dealing with bits

    by Lina
    Replies
    25
    Views
    11,480

    Can you clarify that more! what piece of code i...

    Can you clarify that more! what piece of code i should remove.
  17. Thread: Dealing with bits

    by Lina
    Replies
    25
    Views
    11,480

    i edited it.

    i edited it.
  18. Thread: Dealing with bits

    by Lina
    Replies
    25
    Views
    11,480

    Dealing with bits

    i did my best to do this function, the following is what i came up with.
    However, the max operators that i can use is 12 and i'm using 16. i did all i
    can to have the min number of operatores and...
Results 1 to 18 of 18